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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A119476 a(1)=1, a(n)=a((n+1)/2)+1 if n is odd, a(n)=a(n/2)+2 if n is even. 1
1, 3, 4, 5, 5, 6, 6, 7, 6, 7, 7, 8, 7, 8, 8, 9, 7, 8, 8, 9, 8, 9, 9, 10, 8, 9, 9, 10, 9, 10, 10, 11, 8, 9, 9, 10, 9, 10, 10, 11, 9, 10, 10, 11, 10, 11, 11, 12, 9, 10, 10, 11, 10, 11, 11, 12, 10, 11, 11, 12, 11, 12, 12, 13, 9, 10, 10, 11, 10, 11, 11, 12, 10, 11, 11, 12, 11, 12, 12, 13, 10, 11 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

MATHEMATICA

a[1]=1; a[n_]:=a[n]=If[OddQ[n], a[(n+1)/2]+1, a[n/2]+2]; Table[a[n], {n, 300}]

CROSSREFS

Cf. A119477.

Sequence in context: A130234 A108852 A179413 * A037038 A106501 A065305

Adjacent sequences:  A119473 A119474 A119475 * A119477 A119478 A119479

KEYWORD

nonn

AUTHOR

Zak Seidov, May 22 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 10:57 EST 2012. Contains 206009 sequences.