Euclids orchard by clock

#!ruby -nrmathn
(r=1..$_.to_i).map{|a|puts r.map{|b|a.gcd(b)<2?"t":" "}*""}

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

download

return top