|
|
A356605
|
|
Number of integer compositions of n into odd parts covering an interval of odd positive integers.
|
|
3
|
|
|
1, 1, 1, 2, 3, 5, 6, 10, 15, 26, 41, 65, 104, 164, 262, 424, 687, 1112, 1792, 2898, 4677, 7556, 12197, 19699, 31836, 51466, 83234, 134593, 217674, 352057, 569452, 921165, 1490173, 2410784, 3900288, 6310436, 10210358, 16521108, 26733020, 43258086, 69999295
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
LINKS
|
|
|
EXAMPLE
|
The a(1) = 1 through a(8) = 15 compositions:
(1) (11) (3) (13) (5) (33) (7) (35)
(111) (31) (113) (1113) (133) (53)
(1111) (131) (1131) (313) (1133)
(311) (1311) (331) (1313)
(11111) (3111) (11113) (1331)
(111111) (11131) (3113)
(11311) (3131)
(13111) (3311)
(31111) (111113)
(1111111) (111131)
(111311)
(113111)
(131111)
(311111)
(11111111)
|
|
MATHEMATICA
|
nogapQ[m_]:=m=={}||Union[m]==Range[Min[m], Max[m]];
Table[Length[Select[Join@@Permutations/@IntegerPartitions[n], And@@OddQ/@#&&nogapQ[(#+1)/2]&]], {n, 0, 15}]
|
|
CROSSREFS
|
These compositions are ranked by the intersection of A060142 and A356841.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|