cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A106903 Primes of the form x^2+xy+13y^2, with x and y nonnegative.

Original entry on oeis.org

13, 19, 43, 67, 103, 127, 151, 157, 223, 229, 271, 307, 331, 349, 373, 409, 421, 433, 457, 523, 577, 613, 661, 727, 733, 739, 757, 769, 829, 859, 883, 919, 937, 967, 1021, 1063, 1069, 1087, 1123, 1171, 1237, 1249, 1327, 1381, 1429, 1447, 1453, 1471
Offset: 1

Views

Author

T. D. Noe, May 09 2005

Keywords

Comments

Discriminant=-51.
Differs from A106904 from a(20) = 523 on, A106904(20) = 463. Since x^2 + xy + y^2 = (x+y)^2 - (x+y)y + y^2, this sequence is a subsequence of A106904. - M. F. Hasler, Jan 15 2016

Programs

  • Mathematica
    QuadPrimes2[1, 1, 13, 10000] (* see A106856 *)
  • PARI
    select(p->isprime(p)&&(t=qfbsolve(Qfb(1,1,13),p))&&t[1]>=0,[1..1500]) \\ M. F. Hasler, Jan 15 2016