This is a note in Sedgewick's Analytic Combinatorics: The number of lattice points with integer coordinates that belong to the closed ball of radius n in d-dimensional Euclidean space is $\displaystyle[z^{n^2}]\frac{1}{1-z}\Theta(z)^d$ where $\displaystyle\Theta(z) = 1 + 2\sum_{k=1}^{\infty} z^{k^2}$.
I've tried to figure out why this is true to no avail - perhaps $\Theta$ counts the number of ways to place points on a 1-dimensional ball of radius $k^2$, and raising it to the $d$ counts the cross product of all possibilities? I still don't know where the $\frac{1}{1-z}$ comes into play. Hints or explanations would be very much appreciated!