login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A215088 a(n)=Sum{d(i)*2^i: i=0,1,...,m}, where Sum{d(i)*5^i: i=0,1,...,m} is the base 5 representation of n. 2
0, 1, 2, 3, 4, 2, 3, 4, 5, 6, 4, 5, 6, 7, 8, 6, 7, 8, 9, 10, 8, 9, 10, 11, 12, 4, 5, 6, 7, 8, 6, 7, 8, 9, 10, 8, 9, 10, 11, 12, 10, 11, 12, 13, 14, 12, 13, 14, 15, 16, 8, 9, 10, 11, 12, 10, 11, 12, 13, 14, 12, 13, 14, 15, 16, 14, 15, 16, 17, 18, 16, 17, 18, 19, 20, 12, 13, 14, 15, 16, 14, 15, 16, 17, 18, 16, 17, 18, 19, 20, 18, 19, 20, 21, 22, 20, 21, 22, 23 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = 2*a(n/5) if n = 0 mod 5; otherwise, a(n) = a(n-1) + 1. - Clark Kimberling, Aug 03 2012
MATHEMATICA
t = Table[FromDigits[RealDigits[n, 5], 2], {n, 0, 100}]
CROSSREFS
Cf. A033042.
Sequence in context: A070771 A274640 A245341 * A330786 A182985 A304113
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 02 2012
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 24 15:34 EDT 2024. Contains 374584 sequences. (Running on oeis4.)