Golf ball pyramid by primo

#!ruby -n
p~(2*h=0|$_.to_i/30.173+0.6)*~h*h/6

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

download

return top