Blum integer: Difference between revisions
Content added Content deleted
(→{{header|Wren}}: Only need to store first 50.) |
m (→{{header|Wren}}: Minor tidy.) |
||
Line 49: | Line 49: | ||
System.print("\n\% distribution of the first 400,000 Blum integers:") |
System.print("\n\% distribution of the first 400,000 Blum integers:") |
||
for (i in [1, 3, 7, 9]) { |
for (i in [1, 3, 7, 9]) { |
||
Fmt.print(" $6.3f\% end in $ |
Fmt.print(" $6.3f\% end in $d", counts[i]/4000, i) |
||
} |
} |
||
return |
return |