OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
FORMULA
The limit of this sequence of ratios is 1/2, as can be shown by setting an increasing lower bound on the ratio of composites in successive square intervals.
EXAMPLE
First few ratios are 1/4, 3/8, 5/11, 2/5, 1/2, 3/7, 12/25, 13/29.
MATHEMATICA
Denominator[Table[((2 n + 1) - (PrimePi[(n + 1)^2] - PrimePi[n^2]))/((4 n + 4) - (PrimePi[(n + 2)^2] - PrimePi[n^2])), {n, 1, 100}]] (* corrected by G. C. Greubel, Dec 20 2016)
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Daniel Tisdale, Jun 20 2009
EXTENSIONS
Keyword:frac added by R. J. Mathar, Jun 30 2009
Extended beyond a(9) by R. J. Mathar, Sep 27 2009
STATUS
approved