sum of square numbers by pooq

for n in io.lines()do print(n^3/3+n^2/2+n/6)end

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

download

return to the top page