A055469 Primes of the form k(k+1)/2+1 (i.e., central polygonal numbers, or one more than triangular numbers).
2, 7, 11, 29, 37, 67, 79, 137, 191, 211, 277, 379, 631, 821, 947, 991, 1129, 1327, 1597, 1831, 2017, 2081, 2347, 2557, 2851, 2927, 3571, 3917, 4561, 4657, 4951, 5051, 5779, 6217, 6329, 8647, 8779, 9181, 9871, 11027, 12721, 13367, 14029, 14197, 14879
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Select[Table[(n^2 + 7)/8, {n, 400}], PrimeQ] (* Ray Chandler, Oct 08 2005 *) Select[Accumulate[Range[400]]+1,PrimeQ] (* Harvey P. Dale, May 14 2022 *)
-
PARI
forprime(p=2,10^5, if ( issquare(8*p-7), print1(p, ", "))) \\ Joerg Arndt, Jul 14 2012
-
PARI
list(lim)=my(v=List(),p); forstep(s=3,sqrtint(lim\1*8-7),2, if(isprime(p=(s^2+7)/8), listput(v,p))); Vec(v) \\ Charles R Greathouse IV, May 05 2020
Comments