OFFSET
1,2
COMMENTS
Also, positive numbers represented by 2x^2+3xy-4y^2, discriminant 41.
LINKS
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
MATHEMATICA
Reap[For[n = 0, n <= 100, n++, If[Reduce[ 2*x^2 + 3*x*y - 4*y^2 == n, {x, y}, Integers] =!= False, Sow[n]]]][[2, 1]] (* N. J. A. Sloane, Jun 05 2014 *)
PROG
(PARI) m=41; select(x -> x, direuler(p=2, 101, 1/(1-(kronecker(m, p)*(X-X^2))-X)), 1) \\ Fixed by Andrey Zabolotskiy, Jul 30 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Colin Barker, Jun 17 2014
STATUS
approved