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.

A145486 Primes p such that 2*p - 37 is prime.

Original entry on oeis.org

37, 67, 73, 97, 109, 139, 157, 193, 223, 229, 307, 349, 373, 397, 433, 457, 487, 523, 577, 619, 643, 709, 733, 823, 829, 853, 907, 919, 1033, 1063, 1087, 1129, 1153, 1213, 1237, 1279, 1297, 1327, 1447, 1543, 1549, 1579, 1609, 1627, 1669, 1699, 1747, 1753
Offset: 1

Views

Author

Artur Jasinski, Oct 11 2008

Keywords

Crossrefs

Programs

  • Mathematica
    aa = {}; k = 37; Do[If[PrimeQ[(k + Prime[n])/2], AppendTo[aa, (k + Prime[n])/2]], {n, 1, 500}];aa
  • PARI
    list(lim)=my(v=List()); forprime(p=2,lim, if(isprime(2*p-37), listput(v,p))); Vec(v) \\ Charles R Greathouse IV, Jan 23 2017

Formula

a(n)=2*A145480(n)-37