login
Nonnegative integers of the form x^2 + 6xy - y^2.
2

%I #12 Jun 03 2022 18:08:50

%S 0,1,4,6,9,10,15,16,24,25,26,31,36,39,40,41,49,54,60,64,65,71,74,79,

%T 81,86,89,90,96,100,104,106,111,121,124,129,134,135,144,150,151,156,

%U 159,160,164,166,169,185,186,191,196,199,201,214,215,216,225,234,239,240,241,246,249,250,256,260,265,271,279,281,284,289,294,296

%N Nonnegative integers of the form x^2 + 6xy - y^2.

%C Discriminant 40.

%C Nonnegative integers of the form x^2 - 10y^2. - _Jon E. Schoenfield_, Jun 03 2022

%H N. J. A. Sloane et al., <a href="https://oeis.org/wiki/Binary_Quadratic_Forms_and_OEIS">Binary Quadratic Forms and OEIS</a> (Index to related sequences, programs, references)

%t Reap[For[n = 0, n <= 300, n++, If[Reduce[ x^2 + 6*x*y - 1*y^2 == n, {x, y}, Integers] =!= False, Sow[n]]]][[2, 1]]

%Y Primes in this sequence = A141180.

%K nonn

%O 1,3

%A _N. J. A. Sloane_, May 31 2014