login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A025481 a(0) = 0; a(n) = a(n/2)/2 if n = a(n/2) = 0 (mod 2); a(n) = a(n-1)+1 otherwise. 0
0, 1, 2, 3, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 2, 3, 4, 5, 3, 4, 5, 6, 1, 2, 3, 4, 2, 3, 1, 2, 3, 4, 2, 3, 4, 5, 6, 7, 2, 3, 4, 5, 3, 4, 5, 6, 1, 2, 3, 4, 2, 3, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 2, 3, 1, 2, 3, 4, 2, 3, 4, 5, 3, 4, 5, 6, 1, 2, 3, 4, 2, 3, 4, 5, 6, 7, 2, 3, 4, 5, 3, 4, 5, 6, 1, 2, 3, 4, 2, 3, 1, 2, 3, 4, 5, 6, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Table of n, a(n) for n=0..107.

CROSSREFS

Sequence in context: A003315 A194107 A071797 * A124171 A276146 A210530

Adjacent sequences:  A025478 A025479 A025480 * A025482 A025483 A025484

KEYWORD

nonn

AUTHOR

David W. Wilson

EXTENSIONS

Bounded, maximum is a(37) = 7.

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 October 23 03:21 EDT 2019. Contains 328335 sequences. (Running on oeis4.)