The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A014110 Number of ordered ways of writing n as a sum of 4 squares of nonnegative integers. 10
1, 4, 6, 4, 5, 12, 12, 4, 6, 16, 18, 12, 8, 16, 24, 12, 5, 24, 30, 16, 18, 28, 24, 12, 12, 28, 42, 28, 12, 36, 48, 16, 6, 36, 42, 36, 29, 28, 48, 28, 18, 48, 60, 28, 24, 60, 48, 24, 8, 44, 72, 48, 30, 48, 84, 36, 24, 52, 54 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
This counts ordered sums of squares of nonnegative integers, whereas A000118 counts ordered sums of squares of integers of any sign. - R. J. Mathar, May 16 2023
LINKS
FORMULA
Coefficient of q^n in (1/16)*(1 + theta_3(0, q))^4; or coeff. of q^n in (Sum q^(i^2), i=0..inf)^4.
EXAMPLE
a(1)=4 counts 0^2+0^2+0^2+1^2 = 0^2+0^2+1^2+0^2 = 0^2+1^2+0^2+0^2 = 1^2+0^2+0^2+0^2. a(2)=6 counts 0^2+0^2+1^2+1^2 = 0^2+1^2+0^2+1^2 = 0^2+1^2+1^2+0^2 = 1^2+0^2+0^2+1^2 = 1^2+0^2+1^2+0^2 = 1^2+1^2+0^2+0^2. - R. J. Mathar, May 16 2023
CROSSREFS
Convolution square of A000925.
Sequence in context: A092039 A243371 A123999 * A266491 A323016 A261637
KEYWORD
easy,nonn
AUTHOR
Joe Keane (jgk(AT)jgk.org)
STATUS
approved

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 May 13 23:15 EDT 2024. Contains 372524 sequences. (Running on oeis4.)