Ormiston triples: Difference between revisions
m
→{{header|Ruby}}: spelling
(→{{header|Ruby}}: Add Ruby) |
m (→{{header|Ruby}}: spelling) |
||
Line 2,132:
n = 1E9
res = Prime.each(n).each_cons(3).count {|ar| all_palin?(ar)}
puts "\nThere are #{res} Ormiston
</syntaxhighlight>
{{out}}
|