OFFSET
0,3
COMMENTS
Obviously each term is either 1 or 2. If n tends to infinity, then Sum(a(i), i=0...n)/n converges to 1/log(2) which is approximately 1.442695. The density of 1's in the sequence is 2-1/log(2) which is 0.5573049591. - Stefan Steinerberger, Apr 16 2006
MATHEMATICA
Table[Floor[Log[2, E^(n + 1)]] - Floor[Log[2, E^n]], {n, 0, 100}] (* Stefan Steinerberger, Apr 16 2006 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved