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.

A116614 Values of n such that prime(2n) mod 12 = 1.

Original entry on oeis.org

3, 6, 9, 21, 22, 25, 34, 35, 37, 39, 40, 41, 42, 44, 50, 53, 55, 56, 61, 65, 67, 68, 84, 86, 87, 90, 99, 102, 108, 113, 122, 127, 130, 132, 139, 142, 153, 154, 155, 158, 161, 163, 176, 183, 189, 190, 194, 198, 211, 219, 225, 232, 233, 237, 238, 248, 258, 259, 278
Offset: 1

Views

Author

Roger L. Bagula, Mar 29 2006

Keywords

Examples

			53 is in the sequence because the 106th prime is 577 and 577 mod 12 = 1.
		

Crossrefs

Programs

  • Maple
    a:=proc(n) if ithprime(2*n) mod 12 = 1 then n else fi end: seq(a(n),n=1..300);
  • Mathematica
    Select[Range[1, 500], Mod[Prime[2*#], 12] == 1 &] (* G. C. Greubel, Nov 19 2017 *)
  • PARI
    for(n=1,999, prime(2*n)%12==1 & print1(n",")) \\ M. F. Hasler, May 22 2009

Formula

Equals (1/2) * { even terms in A160594 = A000720(A068228) }. - M. F. Hasler, May 22 2009

Extensions

Edited by N. J. A. Sloane, Apr 05 2006