Blum integer: Difference between revisions
Corrected the format to display the distribution.
(→{{header|ALGOL 68}}: correct comment) |
(Corrected the format to display the distribution.) |
||
Line 566:
echo "\n% distribution of the first 400_000 Blum integers:"
for i in [1, 3, 7, 9]:
echo &" {counts[i]/4000:6.
break
n = if n mod 5 == 3: n + 4 else: n + 2
|