login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A341231
Irregular triangle read by rows giving trajectory from n to reach 1 under the map A245471.
3
1, 2, 1, 3, 4, 2, 1, 4, 2, 1, 5, 14, 7, 8, 4, 2, 1, 6, 3, 4, 2, 1, 7, 8, 4, 2, 1, 8, 4, 2, 1, 9, 26, 13, 22, 11, 28, 14, 7, 8, 4, 2, 1, 10, 5, 14, 7, 8, 4, 2, 1, 11, 28, 14, 7, 8, 4, 2, 1, 12, 6, 3, 4, 2, 1, 13, 22, 11, 28, 14, 7, 8, 4, 2, 1, 14, 7, 8, 4, 2, 1
OFFSET
1,2
COMMENTS
A340873 gives row lengths.
A341235 gives greatest terms.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..9098 (rows 1..500)
FORMULA
T(n, 1) = n.
T(n, A340873(n)) = 1.
EXAMPLE
Table begins:
1;
2, 1;
3, 4, 2, 1;
4, 2, 1;
5, 14, 7, 8, 4, 2, 1;
6, 3, 4, 2, 1;
7, 8, 4, 2, 1;
8, 4, 2, 1;
9, 26, 13, 22, 11, 28, 14, 7, 8, 4, 2, 1;
10, 5, 14, 7, 8, 4, 2, 1;
11, 28, 14, 7, 8, 4, 2, 1;
12, 6, 3, 4, 2, 1;
13, 22, 11, 28, 14, 7, 8, 4, 2, 1;
14, 7, 8, 4, 2, 1;
15, 16, 8, 4, 2, 1;
16, 8, 4, 2, 1;
...
PROG
(PARI) row(n) = { my (r=[n]); while (n>1, r=concat(r, n=if (n%2, bitxor(n, 2*n+1), n/2))); r }
CROSSREFS
KEYWORD
nonn,base,look,tabf
AUTHOR
Rémy Sigrist, Feb 07 2021
STATUS
approved