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!)
A341401 Number of nonnegative solutions to (x_1)^2 + (x_2)^2 + ... + (x_6)^2 <= n. 6
1, 7, 22, 42, 63, 99, 160, 220, 265, 337, 457, 577, 672, 792, 978, 1178, 1319, 1469, 1739, 2039, 2255, 2507, 2882, 3242, 3513, 3819, 4269, 4769, 5159, 5555, 6181, 6841, 7246, 7666, 8401, 9181, 9763, 10363, 11188, 12108, 12828, 13434, 14394, 15534, 16359, 17211, 18477, 19677 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Partial sums of A045848.
LINKS
FORMULA
G.f.: (1 + theta_3(x))^6 / (64 * (1 - x)).
a(n^2) = A055405(n).
MAPLE
b:= proc(n, k) option remember; `if`(n=0, 1, `if`(n<0 or k<1, 0,
b(n, k-1)+add(b(n-j^2, k-1), j=1..isqrt(n))))
end:
a:= proc(n) option remember; b(n, 6)+`if`(n>0, a(n-1), 0) end:
seq(a(n), n=0..47); # Alois P. Heinz, Feb 10 2021
MATHEMATICA
nmax = 47; CoefficientList[Series[(1 + EllipticTheta[3, 0, x])^6/(64 (1 - x)), {x, 0, nmax}], x]
CROSSREFS
Sequence in context: A063130 A275642 A171441 * A320694 A261465 A033954
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 10 2021
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 June 8 22:55 EDT 2024. Contains 373227 sequences. (Running on oeis4.)