A243087 Number of compositions of n into parts with multiplicity not larger than 9.
1, 1, 2, 4, 8, 16, 32, 64, 128, 256, 511, 1023, 2036, 4072, 8089, 16123, 31971, 63447, 125464, 247848, 488248, 959954, 1882518, 3682966, 7186687, 13987505, 27151374, 52561888, 101473646, 195352782, 375197136, 718154110, 1370815210, 2611751010, 4957566835
Offset: 0
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 0..1000
Crossrefs
Column k=9 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, 9)))) end: a:= n-> b(n$2, 0): seq(a(n), n=0..50);
Comments