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.

A167056 Numbers k such that 12*k + 7 is prime.

Original entry on oeis.org

0, 1, 2, 3, 5, 6, 8, 10, 11, 12, 13, 16, 17, 18, 22, 23, 25, 27, 30, 31, 36, 38, 40, 41, 43, 45, 47, 50, 51, 52, 53, 57, 60, 61, 62, 65, 67, 68, 71, 73, 75, 76, 80, 82, 86, 87, 88, 90, 93, 97, 102, 106, 107, 108, 110, 116, 118, 120, 121, 122, 123, 127, 128, 130, 131, 135, 138
Offset: 1

Views

Author

Michael B. Porter, Oct 27 2009

Keywords

Comments

Corresponds to odd numbers in A024899.

Examples

			2 is in the sequence since 12*2+7 = 31 is prime.
		

Crossrefs

Programs

  • Magma
    [n: n in [1..150] | IsPrime(12*n+7)]; // Vincenzo Librandi, May 20 2014
  • Mathematica
    Select[Range[0, 200], PrimeQ[12 # + 7] &] (* Vincenzo Librandi, May 20 2014 *)
  • PARI
    isA167056(n) = isprime(12*n+7)