|
Search: id:A080816
|
|
|
| A080816 |
|
Triangle read by rows in which n-th row gives trajectory of n (omitting n itself) under the map k -> k+1 if k odd, k -> k/2 if k even. |
|
+0 2
|
|
| 1, 4, 2, 1, 2, 1, 6, 3, 4, 2, 1, 3, 4, 2, 1, 8, 4, 2, 1, 4, 2, 1, 10, 5, 6, 3, 4, 2, 1, 5, 6, 3, 4, 2, 1, 12, 6, 3, 4, 2, 1, 6, 3, 4, 2, 1, 14, 7, 8, 4, 2, 1, 7, 8, 4, 2, 1, 16, 8, 4, 2, 1, 8, 4, 2, 1, 18, 9, 10, 5, 6, 3, 4, 2, 1, 9, 10, 5, 6, 3, 4, 2, 1, 20, 10, 5, 6, 3, 4, 2, 1, 10, 5, 6, 3, 4, 2, 1, 22
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
LINKS
|
Cino Hilliard, The x+1 conjecture
|
|
EXAMPLE
|
7 -> 8 -> 4 -> 2 -> 1, so the 7-th row is 8,4,2,1.
|
|
PROGRAM
|
(PARI) xnp1(n, p) = { print1(1" "); for(x=1, n, p1 = x; while(p1>1, if(p1%2==0, p1/=2, p1 = p1*p+1; ); print1(p1" ") ) ) }
|
|
CROSSREFS
|
Sequence in context: A075826 A085245 A046096 this_sequence A016507 A132116 A097525
Adjacent sequences: A080813 A080814 A080815 this_sequence A080817 A080818 A080819
|
|
KEYWORD
|
easy,nonn,tabf
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)gmail.com), Mar 26 2003
|
|
|
Search completed in 0.002 seconds
|