Primes which contain only one odd digit: Difference between revisions
Primes which contain only one odd digit (view source)
Revision as of 09:21, 28 July 2021
, 2 years ago→{{header|Julia}}
Line 17:
end
println("Found $(length(found)) primes with one odd digit in base 10:")
foreach(p -> print(rpad(last(p), 5), first(p) % 9 == 0 ? "\n" : ""), enumerate
end
Line 30:
809 821 823 827 829 863 881 883 887
</pre>
=={{header|Ring}}==
|