Jump to content

Penta-power prime seeds: Difference between revisions

→‎J: add
(Added reference to "integers".)
(→‎J: add)
Line 496:
10 million is the 72nd: 10,347,035
</pre>
 
=={{header|J}}==
<syntaxhighlight lang=j> pentapower =. (5 = (] >:)^:((5 > ]) *. 1 p: 1 + [ + ^)^:_"0) & 0x
 
_10 ]\ I. pentapower i. 1520000
1 5 69 1665 2129 25739 29631 62321 77685 80535
82655 126489 207285 211091 234359 256719 366675 407945 414099 628859
644399 770531 781109 782781 923405 1121189 1158975 1483691 1490475 1512321</syntaxhighlight>
 
=={{header|jq}}==
559

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.