OFFSET
1,3
COMMENTS
The sequence of first differences consists of zeros and ones, with no two consecutive zeros and no more than three consecutive ones.
FORMULA
a(n) = n log 2 + O(1). Conjecture: a(n) = floor((n + 1/2) log 2). - Charles R Greathouse IV, Apr 03 2012
MATHEMATICA
Table[Floor[Log[(1+1/n), 2]], {n, 200}]
PROG
(PARI) a(n)=log(2)\log(1+1/n) \\ Charles R Greathouse IV, Apr 03 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, May 01 2010
EXTENSIONS
Name corrected (to match terms) by Jon E. Schoenfield, Apr 23 2014
STATUS
approved