Blum integer: Difference between revisions

Content added Content deleted
m (→‎{{header|Wren}}: Minor tidy.)
m (→‎{{header|Wren}}: use a different loop variable.)
Line 48: Line 48:
if (bc == 400000) {
if (bc == 400000) {
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 (j in [1, 3, 7, 9]) {
Fmt.print(" $6.3f\% end in $d", counts[i]/4000, i)
Fmt.print(" $6.3f\% end in $d", counts[j]/4000, j)
}
}
return
return