login
A094500
Least number k such that (n+1)^k / n^k >= 2.
6
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,2
COMMENTS
This sequence also describes the minimum number of (n+1)-player games, where each player has an equal chance of winning, that must be played for a given player to have at least a 50% chance of winning at least once. E.g., a(3) = 3 because in a 4-player random game, a given player will have a greater than 50% chance of winning at least once if 3 games are played. - Bryan Jacobs (bryanjj(AT)gmail.com), Apr 28 2006
Also, a(n) denotes a median m of the geometric random variable on the positive integers with mean value n+1. The median is obtained by solving 1-(n/n+1)^m >= 1/2 for least integer m. - Dennis P. Walsh, Aug 13 2012
The limit n -> inf. a(n)/n = log 2. - Robert G. Wilson v, May 13 2014
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.
FORMULA
a(n) = n*log(2) + O(1). - Charles R Greathouse IV, Sep 02 2015
EXAMPLE
a(3) = 3 because (4/3)^2 < 2 and (4/3)^3 > 2.
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 *)
PROG
(PARI) a(n)=ceil(log(2)/log(1+1/n)) \\ Charles R Greathouse IV, Sep 02 2015
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, May 26 2004
EXTENSIONS
Edited by Jon E. Schoenfield, Apr 26 2014
STATUS
approved