login
A096628
Integers k for which {prime(1), prime(2), ..., prime(k)} (mod 4) is biased towards 1.
13
2946, 50378, 50380, 50382, 50383, 50384, 50385, 50386, 50387, 50388, 50389, 50390, 50391, 50392, 50414, 50415, 50416, 50417, 50418, 50419, 50420, 50421, 50422, 50424, 50426, 50428, 50430, 50436, 50438, 50446, 50447, 50448, 50450
OFFSET
1,1
COMMENTS
Indices of negative terms in A038698. - Jianing Song, Feb 20 2019
LINKS
Eric Weisstein's World of Mathematics, Chebyshev Bias
MAPLE
R:= NULL: count:= 0: v:= 0: p:= 2:
for i from 2 while count < 100 do
p:= nextprime(p);
if p mod 4 = 3 then v:= v+1
else v:= v-1
fi;
if v < 0 then R:= R, i; count:= count+1 fi
od:
R; # Robert Israel, Apr 17 2023
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, Jul 01 2004
STATUS
approved