OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
FORMULA
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