cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A341231 Irregular triangle read by rows giving trajectory from n to reach 1 under the map A245471.

This page as a plain text file.
%I A341231 #9 Feb 09 2021 14:58:45
%S A341231 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,
%T A341231 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,
%U A341231 4,2,1,13,22,11,28,14,7,8,4,2,1,14,7,8,4,2,1
%N A341231 Irregular triangle read by rows giving trajectory from n to reach 1 under the map A245471.
%C A341231 A340873 gives row lengths.
%C A341231 A341235 gives greatest terms.
%H A341231 Rémy Sigrist, <a href="/A341231/b341231.txt">Table of n, a(n) for n = 1..9098</a> (rows 1..500)
%F A341231 T(n, 1) = n.
%F A341231 T(n, A340873(n)) = 1.
%e A341231 Table begins:
%e A341231     1;
%e A341231     2, 1;
%e A341231     3, 4, 2, 1;
%e A341231     4, 2, 1;
%e A341231     5, 14, 7, 8, 4, 2, 1;
%e A341231     6, 3, 4, 2, 1;
%e A341231     7, 8, 4, 2, 1;
%e A341231     8, 4, 2, 1;
%e A341231     9, 26, 13, 22, 11, 28, 14, 7, 8, 4, 2, 1;
%e A341231     10, 5, 14, 7, 8, 4, 2, 1;
%e A341231     11, 28, 14, 7, 8, 4, 2, 1;
%e A341231     12, 6, 3, 4, 2, 1;
%e A341231     13, 22, 11, 28, 14, 7, 8, 4, 2, 1;
%e A341231     14, 7, 8, 4, 2, 1;
%e A341231     15, 16, 8, 4, 2, 1;
%e A341231     16, 8, 4, 2, 1;
%e A341231     ...
%o A341231 (PARI) row(n) = { my (r=[n]); while (n>1, r=concat(r, n=if (n%2, bitxor(n, 2*n+1), n/2))); r }
%Y A341231 Cf. A070165, A245471, A340873, A341235.
%K A341231 nonn,base,look,tabf
%O A341231 1,2
%A A341231 _Rémy Sigrist_, Feb 07 2021