login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122924 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 w. 4

%I #2 Mar 30 2012 17:35:16

%S 0,0,0,0,1,0,0,1,0,0,1,0,0,1,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,0,1,2,0,2,

%T 0,1,3,1,2,1,2,0,1,3,1,2,1,2,0,1,3,1,2,2,2,1,0,3,1,3,1,2,1,2,4,2,3,1,

%U 3,1,2,1,2,4,2,3,1,3,1,2,2,2,4,3,3,2,3,1,0,1,2,4,2,4,2,3,0,3,1,3,5,2,4,2,4

%N 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 w.

%e 10 = 2^2 + 2^2 + 1^2 + 1^2, so a(10) = 1. The only representation for 11 is 3^2 + 1^2 + 1^2 + 0^2, so a(11) = 1.

%Y Cf. A122921, A122922, A122923, A002331.

%K nonn

%O 0,17

%A _Franklin T. Adams-Watters_, Sep 19 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 6 17:40 EDT 2024. Contains 374981 sequences. (Running on oeis4.)