OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
FORMULA
A116612 = integer part of 1/2 * { odd terms in A160594 = A000720(A068228) }. - M. F. Hasler, May 22 2009
EXAMPLE
29 is in the sequence because the 59th prime is 277 and 277 mod 12=1.
MAPLE
a:=proc(n) if ithprime(2*n+1) mod 12 = 1 then n else fi end: seq(a(n), n=0..250);
MATHEMATICA
Select[Range[0, 2000], Mod[Prime[2*# + 1], 12] == 1 &] (* G. C. Greubel, Oct 27 2017 *)
PROG
(PARI) for(n=1, 999, prime(2*n+1)%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