login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A022922
Number of integers m such that 5^n < 2^m < 5^(n+1).
3
2, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2
OFFSET
0,1
COMMENTS
Let A(x) be the counting function of terms a(n) = 3 for n <= x. Then lim A(x)/x = 3*log(2)/log(5) - 1 = 0.29202967... as x goes to infinity. - Vladimir Shevelev, Mar 21 2013
LINKS
FORMULA
Asymptotic mean: lim_{m->oo} (1/m) * Sum_{k=1..m} a(k) = log_2(5) (A020858). - Amiram Eldar, Apr 09 2021
EXAMPLE
Contribution from M. F. Hasler, Mar 21 2013: (Start)
a(0)=2 because 5^0 = 1 < 2 = 2^1 < 2^2 = 4 < 5 = 5^1,
a(1)=2 because 5^1 = 5 < 8 = 2^3 < 2^4 = 16 < 25 = 5^2,
a(2)=2 because 5^2 = 25 < 32 = 2^5 < 2^6 = 64 < 125 = 5^3,
a(3)=3 because 5^3 = 125 < 128 = 2^7 < 2^8 < 2^9 = 512 < 625 = 5^4. (End)
MATHEMATICA
Join[{2}, Differences @ Table[Floor[n*Log2[5]], {n, 100}]] (* Amiram Eldar, Apr 09 2021 *)
CROSSREFS
First differences of A061785 (except for the first term).
Cf. A020858.
Sequence in context: A022912 A318955 A173883 * A239141 A377758 A195352
KEYWORD
nonn
EXTENSIONS
Definition clarified by M. F. Hasler, Mar 21 2013
STATUS
approved