login
A116615
Values of n such that prime(2n) mod 12 = 7.
2
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,1
LINKS
FORMULA
Equals (1/2) * { even terms in A160592 = A000720(A068229) }. - M. F. Hasler, May 22 2009
EXAMPLE
23 is in the sequence because the 46th prime is 199 and 199 mod 12=7.
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 *)
PROG
(PARI) for( n=1, 999, prime(2*n)%12==7 & print1(n", ")) \\ M. F. Hasler, May 22 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Mar 29 2006
EXTENSIONS
Edited by N. J. A. Sloane, Apr 05 2006
STATUS
approved