|
| |
|
|
A028930
|
|
Theta series of quadratic form (or lattice) with Gram matrix [ 4, 1; 1, 6 ].
|
|
2
| |
|
|
1, 0, 2, 2, 2, 0, 2, 0, 2, 2, 0, 0, 4, 2, 0, 0, 4, 0, 4, 0, 0, 0, 0, 0, 6, 0, 2, 2, 0, 2, 0, 2, 4, 0, 0, 0, 6, 0, 0, 2, 0, 2, 0, 0, 0, 0, 2, 2, 6, 0, 2, 0, 4, 0, 6, 0, 0, 0, 2, 0, 0, 0, 2, 0, 4, 0, 0, 0, 0, 2, 0, 2, 8, 2, 0, 2, 0, 0, 6, 0, 0, 4, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 2, 2, 2, 0, 8, 0, 2, 0, 2, 0, 0, 0, 6
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,3
|
|
|
COMMENTS
| The number of integer solutions to 2x^2+xy+3y^2=n. - Michael Somos Oct 18 2005
|
|
|
LINKS
| John Cannon, Table of n, a(n) for n = 0..5000
|
|
|
EXAMPLE
| For n=24 the solutions are [2,2],[3,-2],[3,1] and their negatives, so a(24)=6.
1 + 2*q^4 + 2*q^6 + 2*q^8 + 2*q^12 + 2*q^16 + 2*q^18 + 4*q^24 + 2*q^26 + 4*q^32 + 4*q^36 + 6*q^48 + 2*q^52 + 2*q^54 + 2*q^58 + 2*q^62 + 4*q^64 + 6*q^72 + ...
|
|
|
PROG
| (PARI) a(n)=if(n<1, n==0, 2*qfrep([4, 1; 1, 6], n, 1)[n]) /* Michael Somos Oct 18 2005 */
|
|
|
CROSSREFS
| Cf. A106867.
Sequence in context: A171958 A133625 A176154 * A112792 A138319 A002100
Adjacent sequences: A028927 A028928 A028929 * A028931 A028932 A028933
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|