Euclids orchard by twobit

R=range(1,input()+1)
for x in R:
 s=""
 for y in R:
\x09a=x
\x09while a:a,y=y%a,a
\x09s+=" t"[y<2]
 print s

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

download

return to the top page