7 lines
195 B
Text
7 lines
195 B
Text
w,count,max := sieve(17_000), 0, 25;
|
|
println("The first 25 weird numbers are:");
|
|
foreach n in ([2..* ,2]){
|
|
if(not w[n]){ print("%d ".fmt(n)); count+=1; }
|
|
if(count>=max) break;
|
|
}
|
|
println();
|