A110592 Number of digits in base-5 representation of n. String length of A007091.
1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
Offset: 0
Links
- G. C. Greubel, Table of n, a(n) for n = 0..5000
Programs
-
Mathematica
Join[{1},IntegerLength[Range[110],5]] (* Harvey P. Dale, Aug 03 2016 *)
Formula
G.f.: 1 + (1/(1 - x))*Sum_{k>=0} x^(5^k). - Ilya Gutkovskiy, Jan 08 2017
a(n) = floor(log_5(n)) + 1 for n >= 1. - Petros Hadjicostas, Dec 12 2019
Comments