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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088023 Set a(1) = 1. Then take the list of defined initial terms, reverse their order, add 1, 2, 3...to the reversed list in succession and append this new list to the right of the previously defined terms. Repeat this process indefinitely. 3
1, 2, 3, 3, 4, 5, 5, 5, 6, 7, 8, 8, 8, 9, 9, 9, 10, 11, 12, 12, 13, 14, 14, 14, 14, 15, 16, 16, 16, 17, 17, 17, 18, 19, 20, 20, 21, 22, 22, 22, 23, 24, 25, 25, 25, 26, 26, 26, 26, 27, 28, 28, 29, 30, 30, 30, 30, 31, 32, 32, 32, 33, 33, 33 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Conjecture: a(n+1) >= a(n). Comments from Don Reble (djr(AT)nk.ca), Nov 13 2005: The conjecture is plainly true. In fact, a(n+1)-a(n) = 0 or 1. Also a(A091072(n)) = n; a(A091072(n)+1) = n+1.

FORMULA

a(n)=2a(n/2)-1 if a=2^k else a(n)=a(2^k-n+1)+n-2^(k-1) if 2^(k-1)<n<2^k. (Ed.)

EXAMPLE

The sequence begins 1, 2, then reverse 1, 2 = 2, 1 then add 1, 2 to the latter getting 3, 3. Then append 3, 3, to the right of 1, 2, getting 1, 2, 3, 3. Then repeating the instructions, 1, 2, 3, 3 is reversed then add 1, 2, 3, 4 to 3, 3, 2, 1, = 4, 5, 5, 5. Append the latter to 1, 2, 3, 3 getting 1, 2, 3, 3, 4, 5, 5, 5...; and so on.

CROSSREFS

Sequence in context: A195778 A165706 A073092 * A061451 A205542 A086155

Adjacent sequences:  A088020 A088021 A088022 * A088024 A088025 A088026

KEYWORD

nonn

AUTHOR

Gary W. Adamson (qntmpkt(AT)yahoo.com), Sep 19 2003

EXTENSIONS

Edited by John W. Layman (layman(AT)math.vt.edu), Oct 10 2003

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 16 05:51 EST 2012. Contains 205860 sequences.