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.

A269789 Primes p such that 2*p + 59 is a square.

Original entry on oeis.org

11, 31, 83, 151, 191, 283, 811, 983, 1171, 1483, 1831, 2083, 2351, 3251, 3583, 3931, 4111, 4483, 4871, 5483, 6131, 8291, 9631, 11071, 12611, 14251, 14591, 15991, 18211, 20983, 24391, 27583, 29983, 30971, 34031, 35083, 36151, 36691, 37783, 38891, 39451, 40583
Offset: 1

Views

Author

Vincenzo Librandi, Mar 24 2016

Keywords

Comments

Primes of the form 2*k^2 + 2*k - 29.

Examples

			a(1) = 11 because 2*11 + 59 = 81, which is a square.
		

Crossrefs

Cf. A000040.
Subsequence of A002144, A045429.
Cf. similar sequences listed in A269784.

Programs

  • Magma
    [p: p in PrimesUpTo(50000) | IsSquare(2*p+59)];
    
  • Mathematica
    Select[Prime[Range[4500]], IntegerQ[Sqrt[2 # + 59]] &]
  • PARI
    lista(nn) = {forprime(p=2, nn, if(issquare(2*p + 59), print1(p, ", "))); } \\ Altug Alkan, Mar 24 2016