A116614 Values of n such that prime(2n) mod 12 = 1.
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
Keywords
Examples
53 is in the sequence because the 106th prime is 577 and 577 mod 12 = 1.
Links
- G. C. Greubel, Table of n, a(n) for n = 1..1000
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
Extensions
Edited by N. J. A. Sloane, Apr 05 2006