OFFSET
1,1
COMMENTS
The asymptotic density of this sequence is 1/6 (by Dirichlet's theorem). - Amiram Eldar, Mar 01 2021
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
MATHEMATICA
Select[Range[300], Mod[Prime[#], 7] == 5 &] (* G. C. Greubel, Jul 29 2017 *)
PROG
(PARI) isok(n) = (prime(n) % 7) == 5; \\ Michel Marcus, Jul 29 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Aug 01 2009
EXTENSIONS
Remainder in definition corrected by R. J. Mathar, Aug 01 2009
STATUS
approved