Euclids orchard by pooq

for(i,1,n:=File standardInput readLine asNumber,for(j,1,n,a:=i;while(j>0,t:=a%j;a=j;j=t);if(a<2,"t"," ")print)writeln)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page