OFFSET
0,5
COMMENTS
The representation of the partitions (for fixed n) is as (weakly) decreasing list of the parts.
EXAMPLE
The irregular triangle begins:
0;
1;
1, 1;
3;
3, 1;
3, 1, 1;
6;
6, 1;
6, 1, 1;
6, 3;
10;
10, 1;
10, 1, 1;
10, 3;
10, 3, 1;
15;
15, 1;
15, 1, 1;
15, 3;
15, 3, 1;
15, 3, 1, 1;
...
MATHEMATICA
nmax=35; With[{triangulars = Table[k(k+1)/2, {k, (Sqrt[1+8*nmax]-1)/2}]}, Flatten[Join[{0}, Flatten[Table[First[IntegerPartitions[n, All, triangulars, 1]], {n, nmax}]]]]] (* improved by Stefano Spezia, May 10 2026 *)
CROSSREFS
KEYWORD
nonn,easy,tabf
AUTHOR
Stefano Spezia, Jun 06 2022
STATUS
approved
