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.

A138620 Nonnegative integers n such that 12*n-1 is prime.

Original entry on oeis.org

1, 2, 4, 5, 6, 7, 9, 11, 14, 15, 16, 19, 20, 21, 22, 26, 29, 30, 32, 35, 36, 37, 39, 40, 41, 42, 47, 49, 50, 54, 55, 57, 60, 62, 69, 70, 72, 74, 76, 79, 81, 82, 85, 86, 91, 92, 96, 97, 99, 102, 105, 107, 109, 110, 114, 119, 120, 121, 124, 125, 126, 127, 130
Offset: 1

Views

Author

Keywords

Examples

			12*1-1=11, 12*2-1=23, 12*4-1=47, 12*5-1=59, ...
		

Crossrefs

Cf. A068231 (resulting primes).

Programs

  • Mathematica
    a={};Do[x=12*n-1;If[PrimeQ[x],AppendTo[a,n]],{n,10^2}];a
    Select[Range[500],PrimeQ[12#-1]&] (* Harvey P. Dale, May 14 2011 *)

Extensions

More terms from Harvey P. Dale, May 14 2011