OFFSET
0,5
COMMENTS
A composition of n is a finite sequence of positive integers summing to n.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
EXAMPLE
The compositions for n = 1, 4, 6, 8, 9, 10:
(1) (4) (6) (8) (9) (10)
(22) (123) (1124) (11133) (11125)
(132) (1142) (11313) (11152)
(213) (1214) (11331) (11215)
(231) (1241) (13113) (11251)
(312) (1412) (13131) (11512)
(321) (1421) (13311) (11521)
(2114) (31113) (12115)
(2141) (31131) (12151)
(2411) (31311) (12511)
(4112) (33111) (15112)
(4121) (15121)
(4211) (15211)
(11222) (21115)
(12122) (21151)
(12212) (21511)
(12221) (25111)
(21122) (51112)
(21212) (51121)
(21221) (51211)
(22112) (52111)
(22121)
(22211)
MATHEMATICA
Table[Length[Join@@Permutations/@Select[IntegerPartitions[n], Times@@#==n&]], {n, 0, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 06 2020
STATUS
approved