OFFSET
0,3
COMMENTS
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 0..99999
StackExchange, Asymptotic Distribution of Prime Gaps in Residue Classes.
EXAMPLE
n=5, 2*n+1=11: there are three primes <= 11 with Delta(p) == 2 mod 4, namely 3,5,11; and one with Delta(p) == 0 mod 4, namely 7; so a(5) = 3-1 = 2.
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 29 2019
STATUS
approved