Euclids orchard by recursive

R=range(1,input()+1)
for i in R:print"".join(" t"[all(i%~d+j%~d for d in R)]for j in R)

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

download

return top