A122172 Triangle read by rows relating A074139, A074141, A078436 and A079025.
1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 3, 3, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 2, 3, 2, 1, 1, 3, 4, 3, 1, 1, 4, 6, 4, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 2, 3, 3, 2, 1, 1, 3, 4, 4, 3, 1, 1, 3, 5, 5, 3, 1, 1, 4, 7, 7, 4, 1, 1, 5, 10, 10, 5, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 0
Examples
The triangle begins: 1 1 1 1 1 1 1 2 1 1 1 1 1 1 2 2 1 1 3 3 1 1 1 1 1 1 1 2 2 2 1 1 2 3 2 1 1 3 4 3 1 1 4 6 4 1 1 1 1 1 1 1 1 2 2 2 2 1 1 2 3 3 2 1 1 3 4 4 3 1 1 3 5 5 3 1 1 4 7 7 4 1 1 5 10 10 5 1
Links
- M. F. Hasler, Table of n, a(n) for n = 0..9172 (up to partitions of 15), Jan 07 2024
Crossrefs
Programs
-
PARI
A122172_row(n, p=part(n))={my(c=Vec(0, vecsum(p)+1)); forvec(v=[[0, k]| k<-p], c[vecsum(v)+1]++); c} \\ instead of n one can directly give p as 2nd arg /* helper function: n-th partition as listed in A036036, A036037 or A185974 */ part(n)={my(c, r=0); while(n >= c = numbpart(r), n -= c; r++); partitions(r)[n+1]} for(n=0,5, forpart(p=n, print(A122172_row(, Vec(p))) )) \\ Illustration. \\ M. F. Hasler, Jan 06 2024
Extensions
More terms from M. F. Hasler, Jan 07 2024
Comments