A341049 Irregular triangle read by rows T(n,k) in which row n lists the terms of n-th row of A336811 in nondecreasing order.
1, 2, 1, 3, 1, 2, 4, 1, 1, 2, 3, 5, 1, 1, 2, 2, 3, 4, 6, 1, 1, 1, 1, 2, 2, 3, 3, 4, 5, 7, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 6, 8, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 5, 5, 6, 7, 9, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 6, 6, 7, 8, 10
Offset: 1
Examples
Triangle begins: 1; 2; 1, 3; 1, 2, 4; 1, 1, 2, 3, 5; 1, 1, 2, 2, 3, 4, 6; 1, 1, 1, 1, 2, 2, 3, 3, 4, 5, 7; 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 6, 8; 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 5, 5, 6, 7, 9; ...
Links
Crossrefs
Programs
-
Mathematica
A341049[rowmax_]:=Table[Flatten[Table[ConstantArray[n-m,PartitionsP[m]-PartitionsP[m-1]],{m,n-1,0,-1}]],{n,rowmax}]; A341049[10] (* Generates 10 rows *) (* Paolo Xausa, Feb 17 2023 *)
-
PARI
A341049(rowmax)=vector(rowmax,n,concat(vector(n,m,vector(numbpart(n-m)-numbpart(n-m-1),i,m)))); A341049(10) \\ Generates 10 rows - Paolo Xausa, Feb 17 2023
Comments