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.

A116615 Values of n such that prime(2n) mod 12 = 7.

Original entry on oeis.org

2, 4, 7, 11, 17, 18, 19, 23, 24, 29, 45, 57, 69, 94, 101, 105, 111, 112, 116, 121, 129, 133, 136, 137, 138, 141, 150, 157, 162, 164, 170, 172, 174, 177, 184, 187, 197, 203, 207, 209, 220, 231, 235, 239, 245, 250, 251, 252, 254, 255, 260, 261, 270, 273, 276, 283
Offset: 1

Views

Author

Roger L. Bagula, Mar 29 2006

Keywords

Examples

			23 is in the sequence because the 46th prime is 199 and 199 mod 12=7.
		

Crossrefs

Programs

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

Formula

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

Extensions

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