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

 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 CROSSREFS Sequence in context: A194107 A071797 A338027 * A124171 A276146 A210530 Adjacent sequences:  A025478 A025479 A025480 * A025482 A025483 A025484 KEYWORD nonn AUTHOR 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.

Last modified April 15 01:24 EDT 2021. Contains 342974 sequences. (Running on oeis4.)