|
| |
|
|
A105673
|
|
One-half of theta series of square lattice (or half the number of ways of writing n > 0 as a sum of 2 squares), without the constant term, which is 1/2.
|
|
1
| |
|
|
2, 2, 0, 2, 4, 0, 0, 2, 2, 4, 0, 0, 4, 0, 0, 2, 4, 2, 0, 4, 0, 0, 0, 0, 6, 4, 0, 0, 4, 0, 0, 2, 0, 4, 0, 2, 4, 0, 0, 4, 4, 0, 0, 0, 4, 0, 0, 0, 2, 6, 0, 4, 4, 0, 0, 0, 0, 4, 0, 0, 4, 0, 0, 2, 8, 0, 0, 4, 0, 0, 0, 2, 4, 4, 0, 0, 0, 0, 0, 4, 2, 4, 0, 0, 8, 0, 0, 0, 4, 4, 0, 0, 0, 0, 0, 0, 4, 2, 0
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| This is the elliptic function K/pi - see Fine.
|
|
|
REFERENCES
| N. J. Fine, Basic Hypergeometric Series and Applications, Amer. Math. Soc., 1988; Eq. (34.4).
|
|
|
FORMULA
| G.f. A(x) satisfies 0=f(A(x), A(x^2), A(x^4)) where f(u, v, w)=(u-v)^2-(v-w)(4w+2). - Michael Somos May 13 2005
|
|
|
EXAMPLE
| K/pi = 1/2 + 2*q + 2*q^2 + 2*q^4 + 4*q^5 + 2*q^8 + 2*q^9 + 4*q^10 + 4*q^13 + 2*q^16 + ...
|
|
|
PROG
| (PARI) qfrep([1, 0; 0, 1], 100)
(PARI) a(n)=if(n<1, 0, qfrep([1, 0; 0, 1], n)[n]) /* Michael Somos May 13 2005 */
|
|
|
CROSSREFS
| (Theta_3)^2 is given in A004018.
Equals A004018(n)/2 for n > 0.
Sequence in context: A165316 A141058 A102706 * A171933 A074823 A159916
Adjacent sequences: A105670 A105671 A105672 * A105674 A105675 A105676
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com), May 05 2005
|
| |
|
|