OFFSET
0,2
COMMENTS
The Little Methuselah form represents every integer from 1 to 30, but fails to represent 31. Every integer-valued positive definite ternary form not equivalent to it fails to represent some integer between 1 and 30. [Conway]
REFERENCES
J. H. Conway, The Sensual (Quadratic) Form, M.A.A., 1997, pp. 81-82.
EXAMPLE
1 + 2*x + 2*x^2 + 4*x^3 + 4*x^4 + 6*x^5 + 8*x^6 + 2*x^7 + 10*x^8 + 10*x^9 + 2*x^10 + ...
PROG
(Magma) L:=LatticeWithGram(3, [2, 0, 0, 0, 4, 1, 0, 1, 8] ); T<q> := ThetaSeries(L, 500); T;
(PARI) {a(n)= if(n<1, n==0, qfrep([2, 0, 0; 0, 4, 1; 0, 1, 8], n, 1)[n]*2)} /* Michael Somos, Oct 23 2006 */
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Sep 27 2006, corrected Oct 26 2006
STATUS
approved