The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

A089368

Least k such that 2*pi(n) = pi(n+k), where pi(n) = number of primes up to n. (The number of primes between 1 to n is the same as the number of primes between n+1 and n+k.