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.

Showing 1-2 of 2 results.

A158018 Primes p such that (p - 1)/12 is also prime.

Original entry on oeis.org

37, 61, 157, 229, 277, 349, 373, 709, 733, 853, 877, 997, 1069, 1213, 1237, 1669, 1789, 2293, 2389, 2677, 2749, 2797, 3229, 3253, 3373, 3517, 3733, 4549, 4597, 4813, 4909, 5197, 5557, 5749, 6037, 6277, 6829, 7213, 7573, 7717, 7933, 8293, 8629, 9013, 9133
Offset: 1

Views

Author

Roger L. Bagula, Mar 11 2009

Keywords

Crossrefs

Programs

  • Mathematica
    Flatten[Table[If[PrimeQ[n] && PrimeQ[(n - 1)/12], n, {}], {n, 1, 10000}]]
    Select[Prime[Range[1500]], PrimeQ[(# - 1) / 12]&] (* Vincenzo Librandi, Apr 14 2013 *)

Formula

a(n)=12*A075704(n)+1. [From R. J. Mathar, Mar 15 2009]

Extensions

Definition slightly rephrased - The Assoc. Eds. of the OEIS, Aug 30 2010

A106062 Primes p such that 1*p + 12 and 12*p + 1 are primes.

Original entry on oeis.org

5, 19, 29, 31, 59, 61, 71, 89, 101, 139, 199, 229, 269, 271, 281, 409, 479, 601, 631, 661, 761, 811, 929, 1009, 1021, 1049, 1051, 1091, 1181, 1279, 1291, 1361, 1459, 1499, 1511, 1601, 1609, 1709, 1889, 2099, 2141, 2339, 2381, 2399, 2411, 2539, 2579, 2729
Offset: 1

Views

Author

Zak Seidov, May 07 2005

Keywords

Crossrefs

Intersection of A046133 and A075704. - Michel Marcus, Jan 20 2018

Programs

  • Magma
    [p: p in PrimesUpTo(10000)| IsPrime(p+12) and IsPrime(12*p+1)]; // Vincenzo Librandi, Nov 13 2010
  • Mathematica
    Select[Prime[Range[220]], PrimeQ[12#+1]&&PrimeQ[1#+12]&]
Showing 1-2 of 2 results.