Penta-power prime seeds: Difference between revisions

→‎{{header|Wren}}: n must be odd - thanks to Tigerofdarkness for pointing that out.
(Added Wren)
(→‎{{header|Wren}}: n must be odd - thanks to Tigerofdarkness for pointing that out.)
Line 75:
while (ppps.count < 30) {
if (isPentaPowerPrimeSeed.call(n)) ppps.add(n)
n = n + 12 // n must be odd
}
System.print("First thirty penta-power prime seeds:")
Line 93:
}
}
n = n + 12
}</lang>
 
9,485

edits