OFFSET
1,1
LINKS
C. K. Caldwell, Prime Gaps
FORMULA
n such that (n - 1) divides (prime(n) - n - 1), or equivalently,
n such that (n - 1) divides (prime(n) - 2).
EXAMPLE
a(2)=10 since 9 (number of gaps) divides 18 (number of composites less than 29, the 10th prime). Therefore the "average" gap less than 29 is exactly 2.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
EXTENSIONS
More terms from Kok Seng Chua (chuaks(AT)ihpc.nus.edu.sg), May 25 2000
Three more terms from Phil Carmody, Jul 23 2003
STATUS
approved