A243085 Number of compositions of n into parts with multiplicity not larger than 7.
1, 1, 2, 4, 8, 16, 32, 64, 127, 255, 502, 1004, 1972, 3908, 7660, 15044, 29361, 57209, 110982, 214648, 413552, 793936, 1518344, 2892496, 5500825, 10392649, 19569158, 36845760, 68891188, 128241332, 238736764, 442162796, 814790985, 1499513369, 2750419066
Offset: 0
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 0..1000
Crossrefs
Column k=7 of A243081.
Programs
-
Maple
b:= proc(n, i, p) option remember; `if`(n=0, p!, `if`(i<1, 0, add(b(n-i*j, i-1, p+j)/j!, j=0..min(n/i, 7)))) end: a:= n-> b(n$2, 0): seq(a(n), n=0..50);
Comments