Decompose integer into sum of squares by samuil

v %w{0 a b c d}*'|17.dw(k=0){|'+'|$*[a*a+b*b+c*c+d*d]=[d,c,b,a]-[0]}}}}'+';s"#{k+=1}: "+$*[k]*" "'*300

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

download

return to the top page