OFFSET
1,1
COMMENTS
a(n) is also the minimal rank where n consecutive 2's appear in A023512.
The sequence is infinite by Shiu's theorem.
FORMULA
a(n) = primepi(A057632(n)). - Amiram Eldar, May 13 2023
EXAMPLE
For n=2, a(2) = 94 because prime(94)+1 = 492 = 4*123, prime(95)+1 = 500 = 4*125 are the first two consecutive primes p such that p+1 is divisible by 4 and not by 8.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Léo Gratien, May 13 2023
EXTENSIONS
a(19)-a(20) from Martin Ehrenstein, May 28 2023
STATUS
approved