OFFSET
0,1
COMMENTS
All terms <= 1; each 1 is followed by either one or two 0's. - Robert Israel, Mar 29 2020
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = floor((n+1)*log_5(2))-floor(n*log_5(2)) - Stephen P. Glasby (GlasbyS(AT)cwu.edu), Jul 29 2003
MAPLE
F:= [seq(floor(n*log[5](2)), n=0..101)]:
F[2..-1]-F[1..-2]; # Robert Israel, Mar 29 2020
PROG
(PARI) logint(2^(n+1), 5)-logint(2^n, 5) \\ Charles R Greathouse IV, Jan 16 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved