Anonymous user
Cuban primes: Difference between revisions
m
→{{header|REXX}}: reduced the font size for the first output.
(→{{header|REXX}}: added additional text to the REXX section header, dropped primality test, used factorization by 6K + 1.) |
m (→{{header|REXX}}: reduced the font size for the first output.) |
||
Line 1,437:
commas: parse arg _; do jc=length(_)-3 to 1 by -3; _=insert(',', _, jc); end; return _</lang>
{{out|output|text= when using the default input of: <tt> 200 </tt>}}
(Shown at three-quarter size.)
7 19 37 61 127 271 331 397 547 631 919 1,657 1,801 1,951 2,269 2,437 2,791 3,169 3,571 4,219 4,447 5,167 5,419 6,211 7,057 7,351▼
<pre style="font-size:75%">
▲7 19 37 61 127 271 331 397 547 631 919 1,657 1,801 1,951 2,269 2,437 2,791 3,169 3,571 4,219 4,447 5,167 5,419 6,211 7,057 7,351 8,269 9,241 10,267
689,761 692,641 698,419 707,131 733,591 742,519 760,537 769,627 772,669 784,897 791,047 812,761 825,301 837,937 847,477 863,497 879,667 886,177
1,024,921 1,035,469 1,074,607 1,085,407 1,110,817 1,114,471 1,125,469 1,155,061 1,177,507 1,181,269 1,215,397 1,253,887 1,281,187▼
▲
1,422,097 1,426,231 1,442,827 1,451,161 1,480,519 1,484,737 1,527,247 1,570,357
</pre>
{{out|output|text= when using the input of: <tt> -100000 </tt>}}
|