Golf ball pyramid by clock

include../local/euphoria/include/get.e
object n
for i=0to 99do
n=floor(get(0)/30.173+.6)printf(1,"%s%d\n",n*(n+1)*(2*n+1)/6)end for

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

download

return to the top page