sum of square numbers by murky-satyr

stdin linesDo:[:n|((N:=n asNumber)*2+1*(N+1)*N/6)displayNl]

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

download

return to the top page