OFFSET
0,1
REFERENCES
A. E. Bojarincev, Asymptotic expressions for the n-th composite number. Univ. Mat. Zap. 6:21-43(1967). [in Russian]
J.-M. De Koninck, Ces nombres qui nous fascinent, Entry 133, p. 45, Ellipses, Paris 2008.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..22
Laurentiu Panaitopol, Some properties of the series of composed [sic] numbers, Journal of Inequalities in Pure and Applied Mathematics 2:3 (2001).
J. Barkley Rosser and Lowell Schoenfeld, Approximate formulas for some functions of prime numbers. Illinois J. Math. 6 (1962), pp. 64-94.
FORMULA
a(n) = 10^(n + n/log n + 2n/log^2 + 4n/log^3 n + O(n/log^4 n)). See Bojarincev for an asymptotic expansion. - Charles R Greathouse IV, May 30 2013
EXAMPLE
MATHEMATICA
Composite[n_Integer] := Block[ {k = n + PrimePi[n] + 1 }, While[ k != n + PrimePi[k] + 1, k = n + PrimePi[k] + 1]; Return[k]];
Table[Composite[10^n], {n, 0, 9}]
PROG
(PARI) a(n)=my(k=10^n); forcomposite(n=4, 2*k+2, if(k--==0, return(n))) \\ Charles R Greathouse IV, May 30 2013
CROSSREFS
KEYWORD
nonn,hard
AUTHOR
Labos Elemer, Nov 26 2001
EXTENSIONS
More terms from Robert G. Wilson v, Nov 26 2001
a(14) from Lekraj Beedassy, Jul 14 2008
a(15)-a(19) from Chai Wah Wu, Apr 16 2018
a(20) from Chai Wah Wu, Aug 23 2018
STATUS
approved