Anonymous user
Pierpont primes: Difference between revisions
m
→{{header|REXX}}: added/changed whitespace and comments, simplified program.
m (More efficient implementation of n-smooth number generator) |
m (→{{header|REXX}}: added/changed whitespace and comments, simplified program.) |
||
Line 1,705:
numeric digits n /*ensure enough decimal digs (bit int).*/
big= copies(9, digits() ) /*BIG: used as a max number (a limit).*/
@= '1st'
$=; do j=0
if usum<=s then usum=
say
if t==-1
say center(n " Pierpont primes of the " @ ' kind', max(10*(w+1)
call show $
end /*
exit /*stick a fork in it, we're all done. */
/*──────────────────────────────────────────────────────────────────────────────────────*/
|