OFFSET
1,1
COMMENTS
The asymptotic density of this sequence is 1/8 (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[430], Mod[Prime[ # ], 16] == 3 &] (* Ray Chandler, Nov 06 2006 *)
PROG
(Magma) [n: n in [1..450]|(NthPrime(n) mod 16) eq 3] // G. C. Greubel, Feb 05 2019
(PARI) {isok(n) = Mod(prime(n), 16)==3};
for(n=1, 450, if(isok(n)==1, print1(n, ", "), 0)) \\ G. C. Greubel, Feb 05 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Ray Chandler, Mar 15 2004, revised Nov 06 2006
STATUS
approved