A094500 Least number k such that (n+1)^k / n^k >= 2.
1, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9, 10, 11, 11, 12, 13, 13, 14, 15, 15, 16, 17, 17, 18, 19, 20, 20, 21, 22, 22, 23, 24, 24, 25, 26, 26, 27, 28, 29, 29, 30, 31, 31, 32, 33, 33, 34, 35, 36, 36, 37, 38, 38, 39, 40, 40, 41, 42, 42, 43, 44, 45, 45, 46, 47, 47, 48, 49, 49, 50, 51, 51
Offset: 1
Examples
a(3) = 3 because (4/3)^2 < 2 and (4/3)^3 > 2.
Links
- Jon Eivind Vatne, The sequence of middle divisors is unbounded, Journal of Number Theory, Volume 172, March 2017, Pages 413-415. See n(i) p. 414.
Programs
-
Mathematica
f[n_] := Block[{k = 1}, While[((n + 1)/n)^k < 2, k++]; k]; Array[f, 75] (* to view the limit *) Array[ f/# &, 1000] (* Robert G. Wilson v, May 13 2014 *)
-
PARI
a(n)=ceil(log(2)/log(1+1/n)) \\ Charles R Greathouse IV, Sep 02 2015
Formula
a(n) = n*log(2) + O(1). - Charles R Greathouse IV, Sep 02 2015
Extensions
Edited by Jon E. Schoenfield, Apr 26 2014
Comments