login
A079636
Smallest number whose reciprocal fits in the square-root gap of consecutive primes.
0
4, 2, 3, 2, 4, 2, 5, 3, 2, 6, 2, 4, 7, 4, 3, 3, 8, 3, 5, 9, 3, 5, 4, 3, 5, 11
OFFSET
1,1
COMMENTS
Is the limit of sqrt(P_(n+1)) - sqrt(P_n) 0?
REFERENCES
Jim Ferry, sci.math, Jan 30 2003
FORMULA
a(n) = ceiling(1/(w'-w)) where w=sqrt(p(n)) and w'=sqrt(p(n+1))
EXAMPLE
a(3) = 3 because p(3)=5, p(4)=7, w=sqrt(5) w'=sqrt(7) and 1/(w'-w)=2.44.
CROSSREFS
Cf. A000040.
Sequence in context: A217435 A238352 A291357 * A308261 A019614 A051528
KEYWORD
easy,nonn
AUTHOR
Rainer Rosenthal, Jan 30 2003
STATUS
approved