The smallest k >= 0 that can be represented as a linear combination of 1^2, 2^2, ..., n^2 with coefficients +-1 and that cannot be represented using 1^2, 2^2, ..., m^2 with 1<=m<n.

A392127

The smallest k >= 0 that can be represented as a linear combination of 1^2, 2^2, ..., n^2 with coefficients +-1 and that cannot be represented using 1^2, 2^2, ..., m^2 with 1<=m<n.

Terms

    a(0) =1a(1) =3a(2) =4a(3) =2a(4) =13a(5) =7a(6) =0a(7) =44a(8) =25a(9) =61a(10) =52a(11) =250a(12) =241a(13) =563a(14) =458a(15) =984a(16) =823a(17) =1529a(18) =1272a(19) =2214a(20) =1853a(21) =3055a(22) =2614a(23) =4068a(24) =3539a(25) =5269a(26) =4644a(27) =6674a(28) =5945a(29) =8299

External references