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!)
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

%I #5 Mar 30 2012 18:35:25

%S 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,

%T 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,

%U 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

%N a(0) = 0; a(n) = a(n/2)/2 if n = a(n/2) = 0 (mod 2); a(n) = a(n-1)+1 otherwise.

%K nonn

%O 0,3

%A _David W. Wilson_

%E Bounded, maximum is a(37) = 7.

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 April 16 03:28 EDT 2024. Contains 371696 sequences. (Running on oeis4.)