OFFSET
4,1
COMMENTS
A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
The first sums of a nonempty sequence (a, b, c, d, ...) are (a+b, b+c, c+d, ...).
EXAMPLE
The reversed prime indices of 18 are (2,2,1), with first sums (4,3), so row 18 is (4,3).
Triangle begins:
2:
3:
4: 2
5:
6: 3
7:
8: 2 2
9: 4
10: 4
11:
12: 3 2
13:
14: 5
15: 5
16: 2 2 2
17:
18: 4 3
19:
20: 4 2
21: 6
22: 6
23:
24: 3 2 2
MATHEMATICA
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
firsums[c_]:=Table[c[[i]]+c[[i+1]], {i, Length[c]-1}];
Table[firsums[Reverse[prix[n]]], {n, 100}]
CROSSREFS
Positions of strict rows are A004709.
Positions of constant rows are A354144.
For first differences instead of first sums we have A355536 with rows reversed.
Reversing rows gives A390307.
For standard compositions we have A390432 with rows reversed.
A342527 counts compositions with all equal first sums.
A390567 counts compositions with all distinct first sums.
KEYWORD
nonn,tabf
AUTHOR
Gus Wiseman, Nov 11 2025
STATUS
approved
