Blum integer: Difference between revisions
→{{header|J}}: fix off-by-one error
(→{{header|J}}: stretch) |
(→{{header|J}}: fix off-by-one error) |
||
Line 304:
while. -.done do.
L0=. L
P=. (#~ 1 p: ])<.3 4 p. b
R1=. p (</ #&, */) P
R2=. (</~ #&, */~) P
Line 331:
597 633 649 669 681 713 717 721 737 749
{: blumseq 26828
<div style="display: none">Stretch:
<syntaxhighlight lang=J> B=: blumseq 4e5
Line 350:
3 25.018
7 24.9955
9 24.9855</syntaxhighlight></div>
=={{header|Julia}}==
|