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.

A112391 Primes p such that 23*p + 2 is also prime.

Original entry on oeis.org

3, 7, 19, 37, 43, 67, 103, 157, 193, 277, 337, 367, 373, 379, 397, 439, 457, 463, 547, 607, 829, 859, 877, 919, 1009, 1033, 1039, 1117, 1129, 1213, 1249, 1297, 1429, 1543, 1579, 1627, 1657, 1699, 1723, 1759, 1783, 1789, 1867, 1993, 1999, 2053, 2083, 2089
Offset: 1

Views

Author

Parthasarathy Nambi, Dec 04 2005

Keywords

Examples

			If p=277 then 23*p + 2 = 6373 (prime).
		

Crossrefs

Cf. A023208.

Programs

  • Magma
    [p: p in PrimesUpTo(3000)|  IsPrime(23*p+2)]; // Vincenzo Librandi, Jan 29 2011
  • Mathematica
    Select[Prime[Range[400]],PrimeQ[23#+2]&] (* Harvey P. Dale, Sep 26 2021 *)
  • PARI
    forprime(p=2,5000,if(isprime(23*p+2),print1(p,","))) \\ Lambert Herrgesell, Dec 09 2005
    

Extensions

More terms from Lambert Herrgesell (zero815(AT)googlemail.com), Dec 09 2005