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 +
}
System.print("First thirty penta-power prime seeds:")
Line 93:
}
}
n = n +
}</lang>
|