OFFSET
1,2
COMMENTS
The terms in row n are T(n,0), T(n,1), ..., T(n, A258145(n)-2), and are the partial sums of the terms in row n of A351122.
EXAMPLE
Triangle starts at T(1,0):
n\k 0 1 2 3 4 5 6 7 8 9 10 ...
1: 1 5
2: 4
3: 1 2 4 7 11
4: 2 3 4 6 9 13
5: 1 3 6 10
6: 3 7
7: 1 2 3 8 12
8: 2 5 9
...
E.g., row 3 of A351122 is [1, 1, 2, 3, 4]; its partial sums are [1, 2, 4, 7, 11].
PROG
(PARI) orow(n) = my(m=2*n+1, list=List()); while (m != 1, if (m%2, m = 3*m+1, my(nb = valuation(m, 2)); m/=2^nb; listput(list, nb)); ); Vec(list); \\ A351122
row(n) = my(v = orow(n)); vector(#v, k, sum(i=1, k, v[i])); \\ Michel Marcus, Jul 18 2022
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Flávio V. Fernandes, Feb 01 2022
EXTENSIONS
Data corrected by Mohsen Maesumi, Jul 18 2022
Last row completed by Michel Marcus, Jul 18 2022
STATUS
approved