login
A116614
Values of n such that prime(2n) mod 12 = 1.
2
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,1
LINKS
FORMULA
Equals (1/2) * { even terms in A160594 = A000720(A068228) }. - M. F. Hasler, May 22 2009
EXAMPLE
53 is in the sequence because the 106th prime is 577 and 577 mod 12 = 1.
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 *)
PROG
(PARI) for(n=1, 999, prime(2*n)%12==1 & 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