A243122 Number of compositions of n in which the maximal multiplicity of parts equals 5.
1, 0, 6, 6, 27, 49, 131, 279, 635, 1370, 2722, 5877, 12170, 24113, 47660, 94470, 186623, 355400, 680074, 1296600, 2456115, 4535638, 8495447, 15570655, 28505689, 52054671, 94229227, 169184891, 301060621, 540575365, 956101463, 1682865787, 2936425870, 5167830927
Offset: 5
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 5..1000
Crossrefs
Column k=5 of A242447.
Programs
-
Maple
b:= proc(n, i, p, k) option remember; `if`(n=0, p!, `if`(i<1, 0, add(b(n-i*j, i-1, p+j, k)/j!, j=0..min(n/i, k)))) end: a:= n-> b(n$2, 0, 5) -b(n$2, 0, 4): seq(a(n), n=5..50);