Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A123390
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A123390 Triangle read by rows: n-th row starts with n and continues with half the previous value as long as that is even. +0
2
1, 2, 1, 3, 4, 2, 1, 5, 6, 3, 7, 8, 4, 2, 1, 9, 10, 5, 11, 12, 6, 3, 13, 14, 7, 15, 16, 8, 4, 2, 1, 17, 18, 9, 19, 20, 10, 5, 21, 22, 11, 23, 24, 12, 6, 3, 25, 26, 13, 27, 28, 14, 7, 29, 30, 15, 31, 32, 16, 8, 4, 2, 1, 33, 34, 17, 35, 36, 18, 9, 37, 38, 19, 39, 40, 20, 10, 5, 41, 42, 21 (list; graph; listen)
OFFSET

1,2

COMMENT

A fractal sequence, generated by the rule a(n) is a new maximum when a(n-1) is odd, and a repetition of an earlier value when a(n-1) is even.

FORMULA

a(1) = 1, for n > 1, if a(n-1) is even, a(n) = a(n-1)/2, otherwise a(n) = (max_{k<n} a(k)) + 1.

Ordinal transform of A082850.

CROSSREFS

Row lengths are A001511. Cf. A120385.

Sequence in context: A133923 A125158 A112384 this_sequence A088208 A081878 A088606

Adjacent sequences: A123387 A123388 A123389 this_sequence A123391 A123392 A123393

KEYWORD

nonn,tabf

AUTHOR

Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Oct 13 2006

page 1

Search completed in 0.096 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research