OFFSET
0,2
COMMENTS
a(n) = number of integer lattice points inside the n-dimensional hypersphere of radius sqrt(n).
LINKS
Eric Weisstein's World of Mathematics, Jacobi Theta Functions
FORMULA
a(n) = A122510(n,n).
a(n) ~ c / (sqrt(n) * r^n), where r = 0.241970723224463308846762732757915397312... (= radius of convergence A166952) and c = 0.716940866073606328... - Vaclav Kotesovec, Apr 14 2018
MATHEMATICA
Table[SeriesCoefficient[EllipticTheta[3, 0, x]^n/(1 - x), {x, 0, n}], {n, 0, 26}]
Table[SeriesCoefficient[1/(1 - x) Sum[x^k^2, {k, -n, n}]^n, {x, 0, n}], {n, 0, 26}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 14 2018
STATUS
approved