OFFSET
1,1
COMMENTS
A definite binary quadratic form a*x^2 + b*x*y + c*y^2 over the integers has discriminant D = b^2 - 4*a*c < 0; -D is assumed to be a nonsquare.
FORMULA
-a(n) is 0 (mod 4) or 1 (mod 4), but not a square.
MATHEMATICA
Select[ Range[148], (Mod[ -#, 4] == 0 || Mod[ -#, 4] == 1) && !IntegerQ[Sqrt[ # ]] & ]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
S. R. Finch (Steven.Finch(AT)inria.fr), May 16 2005
STATUS
approved