login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A022925 Number of 5^m between 2^n and 2^(n+1). 1
0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0 (list; graph; refs; listen; history; text; internal format)
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

Sequence in context: A257531 A151763 A324908 * A327211 A144607 A327253

Adjacent sequences:  A022922 A022923 A022924 * A022926 A022927 A022928

KEYWORD

nonn

AUTHOR

Clark Kimberling

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 25 19:05 EDT 2021. Contains 346291 sequences. (Running on oeis4.)