OFFSET
1,1
COMMENTS
This sequence is like A003066 except the result is rounded up. - Michael B. Porter, Oct 27 2025
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
T. D. Noe, Table of n, a(n) for n=1..1000
M. D. Hirschhorn, How unexpected is the prime number theorem?, Amer. Math. Monthly, 80 (1973), 675-677.
M. D. Hirschhorn, How unexpected is the prime number theorem?, Amer. Math. Monthly, 80 (1973), 675-677. [Annotated scanned copy]
R. C. Vaughan, The problime number theorem, Bull. London Math. Soc., 6 (1974), 337-340.
EXAMPLE
For n=4, the approximation is 7 + 1 / ((1-1/2) * (1-1/4) * (1-1/7)) = 10.1111..., which is rounded up to 11, so a(4)=11. - Michael B. Porter, Oct 27 2025
MAPLE
a[1] := 2: for i from 1 to 150 do a[i+1] := ceil(a[i]+1/product((1-1/a[j]), j=1..i)): od: # James Sellers, Mar 07 2000
MATHEMATICA
a[1] = 2; a[n_] := a[n] = Ceiling[a[n-1] + 1/Product[1 - 1/a[j], {j, 1, n-1}]]; Table[a[n], {n, 1, 60}] (* Jean-François Alcover, Nov 18 2013 *)
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
EXTENSIONS
More terms from James Sellers, Mar 07 2000
STATUS
approved
