Express n as the sum of four squares, x^2+y^2+z^2+w^2, x>=y>=z>=w>=0, sequentially minimizing the value of x, y and z. a(n) is that z.

A122923

Express n as the sum of four squares, x^2+y^2+z^2+w^2, x>=y>=z>=w>=0, sequentially minimizing the value of x, y and z. a(n) is that z.

Terms

    a(0) =0a(1) =0a(2) =0a(3) =1a(4) =1a(5) =0a(6) =1a(7) =1a(8) =0a(9) =1a(10) =1a(11) =1a(12) =2a(13) =2a(14) =1a(15) =1a(16) =2a(17) =2a(18) =2a(19) =1a(20) =1a(21) =2a(22) =2a(23) =2a(24) =2a(25) =2a(26) =2a(27) =3a(28) =3a(29) =2

External references