A182700 Triangle T(n,k) = n*A000041(n-k), 0<=k<=n, read by rows.
0, 1, 1, 4, 2, 2, 9, 6, 3, 3, 20, 12, 8, 4, 4, 35, 25, 15, 10, 5, 5, 66, 42, 30, 18, 12, 6, 6, 105, 77, 49, 35, 21, 14, 7, 7, 176, 120, 88, 56, 40, 24, 16, 8, 8, 270, 198, 135, 99, 63, 45, 27, 18, 9, 9, 420, 300, 220, 150, 110, 70, 50, 30, 20, 10, 10, 616, 462, 330, 242, 165, 121, 77, 55, 33
Offset: 0
Examples
For n=7 and k=4 there are 3 partitions of 7 that contain 4 as a part. These partitions are (4+3)=7, (4+2+1)=7 and (4+1+1+1)=7. The sum is 7+7+7 = 7*3 = 21. By other way, the partition number of 7-4 is A000041(3) = p(3)=3, then 7*3 = 21, so T(7,4) = 21. Triangle begins with row n=0 and columns 0<=k<=n : 0, 1, 1, 4, 2, 2, 9, 6, 3, 3, 20,12,8, 4, 4, 35,25,15,10,5, 5, 66,42,30,18,12,6, 6
Links
- Robert Price, Table of n, a(n) for n = 0..5150 (First 100 rows)
Crossrefs
Programs
-
Maple
A182700 := proc(n,k) n*combinat[numbpart](n-k) ; end proc: seq(seq(A182700(n,k),k=0..n),n=0..15) ;
-
Mathematica
Table[n*PartitionsP[n-k], {n, 0, 11}, {k, 0, n}] // Flatten (* Robert Price, Jun 23 2020 *)
-
PARI
A182700(n,k) = n*numbpart(n-k)
Comments