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-4 of 4 results.

A110801 Numbers n such that 12n + 1 is prime.

Original entry on oeis.org

1, 3, 5, 6, 8, 9, 13, 15, 16, 19, 20, 23, 26, 28, 29, 31, 33, 34, 35, 36, 38, 45, 48, 50, 51, 55, 56, 59, 61, 63, 64, 69, 71, 73, 78, 83, 84, 85, 86, 89, 91, 93, 94, 96, 100, 101, 103, 104, 108, 110, 115, 119, 121, 124, 129, 133, 134, 135, 138, 139, 141, 145, 146, 148
Offset: 1

Views

Author

Parthasarathy Nambi, Oct 20 2005

Keywords

Comments

Corresponds to even numbers in A024898. - Michael B. Porter, Oct 27 2009

Examples

			If n=96 then 12*n + 1 = 1153 (prime).
		

Crossrefs

Cf. A167055, A167056, A167057, A024898; primes are in A068228. - Michael B. Porter, Oct 27 2009

Programs

Extensions

More terms from Klaus Brockhaus, Jan 02 2009

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)
    

A167057 Numbers k such that 12*k + 11 is prime.

Original entry on oeis.org

0, 1, 3, 4, 5, 6, 8, 10, 13, 14, 15, 18, 19, 20, 21, 25, 28, 29, 31, 34, 35, 36, 38, 39, 40, 41, 46, 48, 49, 53, 54, 56, 59, 61, 68, 69, 71, 73, 75, 78, 80, 81, 84, 85, 90, 91, 95, 96, 98, 101, 104, 106, 108, 109, 113, 118, 119, 120, 123, 124, 125, 126, 129, 130, 131, 133
Offset: 1

Views

Author

Michael B. Porter, Oct 27 2009

Keywords

Comments

Corresponds to even numbers in A024898.

Examples

			3 is in the sequence since 12*3+11 = 47 is prime.
		

Crossrefs

Cf. A110801, A167055, A167056, A024898, primes are in A068231.

Programs

  • Magma
    [n: n in [0..200] |IsPrime(12*n+11)]; // Vincenzo Librandi, Mar 25 2010
  • Mathematica
    Select[Range[0, 200], PrimeQ[12 # + 11] &] (* Vincenzo Librandi, May 20 2014 *)
  • PARI
    isA167057(n) = isprime(12*n+11)
    

Formula

a(n) = A138620(n)-1. [From R. J. Mathar, Oct 29 2009]

A166563 Numbers n such that 12*n+5 is not prime.

Original entry on oeis.org

5, 6, 10, 13, 15, 17, 18, 20, 25, 27, 28, 30, 31, 34, 35, 36, 39, 40, 41, 44, 45, 48, 50, 52, 55, 57, 59, 60, 61, 62, 65, 69, 70, 72, 74, 75, 76, 80, 82, 83, 85, 86, 89, 90, 93, 94, 95, 96, 97, 100, 103, 104, 105, 109, 110, 111, 112, 115, 116, 118, 120, 121, 122, 125, 126
Offset: 1

Views

Author

Vincenzo Librandi, Oct 29 2009

Keywords

Examples

			Distribution of the terms in the following triangular array:
*;
*,*;
*,*,*;
*,*,*,*;
*,*,6,*,*;
*,5,*,*,*,*;
*,*,*,*,*,*,*;
*,*,*,*,*,18,*,*;
*,*,*,*,17,*,*,*,*;
*,*,*,*,*,*,*,*,*,*;
*,*,13,*,*,*,*,*,36,*,*;
*,10,*,*,*,*,*,35,*,*,*,*; etc.
where * marks the non-integer values of (2*h*k + k + h - 2)/6 with h >= k >= 1. - _Vincenzo Librandi_, Jan 14 2013
		

Crossrefs

Cf. A167055.

Programs

  • Magma
    [n: n in [0..150] | not IsPrime(12*n+5)]; // Vincenzo Librandi, Jan 14 2013
  • Mathematica
    Select[Range[0, 200], !PrimeQ[12 # + 5] &] (* Vincenzo Librandi, Jan 14 2013 *)
Showing 1-4 of 4 results.