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.

A176622 Primes of the form x^2 + 17*y^2, where x and y=x+1 are consecutive natural numbers.

Original entry on oeis.org

17, 157, 281, 4021, 8669, 10321, 14057, 16141, 37997, 58369, 71317, 78277, 80669, 93169, 109357, 112181, 117937, 136069, 176221, 179801, 187069, 198241, 213641, 225569, 237821, 285517, 299281, 318137, 393977, 410117, 443369, 507697, 513761
Offset: 1

Views

Author

Giovanni Teofilatto, Apr 22 2010

Keywords

Comments

a(n) is congruent 1 mod 4.

Crossrefs

Programs

  • Magma
    [a: n in [1..250]|IsPrime(a) where a is 18*n^2+34*n+17] // Vincenzo Librandi, Dec 04 2010
  • Mathematica
    Select[Table[18x^2+34x+17,{x,0,200}],PrimeQ] (* Harvey P. Dale, May 06 2017 *)

Extensions

Constraint y=x+1 added to definition by R. J. Mathar, May 04 2010
Extended by Vincenzo Librandi, Apr 25 2010