Jump to content

Ruth-Aaron numbers: Difference between revisions

m
(julia example)
Line 58:
enumerate(collect(take(30, rafseq))))
 
println("\nRuth Aaron triple starts at: ", findfirst(x -> ruthaarontriple(x), 1:100000000))
println("\nRuth Aaron factor triple starts at: ", findfirst(ruthaaronfactorstriple, 1:10000000))
</lang>{{out}}
Line 76:
Ruth Aaron factor triple starts at: 417162
</pre>
 
 
=={{header|Perl}}==
4,105

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.