The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A160594 Indices of primes congruent to 1 modulo 12. 7
6, 12, 18, 21, 25, 29, 37, 42, 44, 50, 53, 59, 65, 68, 70, 74, 78, 80, 82, 84, 88, 100, 106, 110, 112, 121, 122, 127, 130, 134, 136, 145, 147, 151, 159, 168, 169, 172, 174, 180, 183, 187, 189, 191, 197, 198, 203, 204, 211, 216, 221, 226, 231, 237, 244, 251, 254 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The asymptotic density of this sequence is 1/4 (by Dirichlet's theorem). - Amiram Eldar, Mar 02 2021
LINKS
FORMULA
a(n) = A000720(A068228(n)).
EXAMPLE
a(1) = 6 since the 6th prime, A000040(6) = 13, is the first one to be equal to 1 (mod 12).
a(2) = 12 since the 12th prime, A000040(12) = 37, is the second one to be equal to 1 (mod 12).
MATHEMATICA
PrimePi/@Select[Range[1, 1701, 12], PrimeQ] (* Harvey P. Dale, Nov 28 2011 *)
PROG
(PARI) for( n=1, 999, prime(n)%12==1 & print1(n", "))
CROSSREFS
A116614 lists the even terms of this sequence, divided by 2.
Sequence in context: A350845 A315723 A361908 * A315724 A146538 A154373
KEYWORD
nonn
AUTHOR
M. F. Hasler, May 22 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 28 16:48 EDT 2024. Contains 372916 sequences. (Running on oeis4.)