

A091178


Numbers n such that nth prime is of the form 6m+1.


13



4, 6, 8, 11, 12, 14, 18, 19, 21, 22, 25, 27, 29, 31, 34, 36, 37, 38, 42, 44, 46, 47, 48, 50, 53, 58, 59, 61, 63, 65, 67, 68, 70, 73, 74, 75, 78, 80, 82, 84, 85, 88, 90, 93, 95, 99, 100, 101, 105, 106, 110, 111, 112, 114, 115, 117, 121, 122, 125, 127, 129, 130, 131, 133
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

A002476 indexed by A000040.
Also n for which prime(n) == 1 (mod 3).  Bruno Berselli, Mar 04 2016
Sequence A091177 (indices of primes of the form 3k1) is this sequence's complement in the positive integers without {2}.  M. F. Hasler, Sep 02 2016


LINKS

Zak Seidov, Table of n, a(n) for n = 1..1000


FORMULA

a(n)=k such that A000040(k) = A002476(n).


MATHEMATICA

Select[Range[200], IntegerQ[(Prime[#]1)/6]&] (* Harvey P. Dale, Aug 25 2013 *)


PROG

(PARI) isok(n) = !((prime(n)1) % 6); \\ Michel Marcus, Mar 04 2016


CROSSREFS

A002476 gives primes arising in A024892, A024899, A034936. Cf. A000040.
Cf. A091177 (indices of primes of the form 3k1).
Sequence in context: A054284 A295287 A079254 * A270448 A152019 A091181
Adjacent sequences: A091175 A091176 A091177 * A091179 A091180 A091181


KEYWORD

nonn


AUTHOR

Ray Chandler, Dec 26 2003


EXTENSIONS

Definition edited by Zak Seidov, Oct 09 2014


STATUS

approved



