|
|
A188576
|
|
Number of compositions of n with the LMV property.
|
|
3
|
|
|
0, 1, 1, 4, 6, 14, 26, 54, 105, 213, 423, 849, 1697, 3399, 6799, 13608, 27220, 54451, 108901, 217789, 435517, 870892, 1741467, 3482322, 6963512, 13925078, 27846979, 55689150, 111371677, 222735709, 445466058, 890938357, 1781916885, 3563957177, 7128223846
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,4
|
|
COMMENTS
|
A composition has the largest missing value (LMV) property if its largest part is at least 2 and it does not contain a part one less than its largest part. - Andrew Howroyd, May 18 2020
|
|
LINKS
|
|
|
FORMULA
|
G.f.: Sum_{k>=2} 1/(1 - x*(1-x^(k-2))/(1-x) - x^k) - 1/(1 - x*(1-x^(k-2))/(1-x)). - Andrew Howroyd, May 18 2020
|
|
EXAMPLE
|
The a(5) = 6 compositions of 5 with the LMV property are: 5, 14, 41, 113, 131, 311. - Andrew Howroyd, May 18 2020
|
|
PROG
|
(PARI) seq(n)={Vec(sum(k=2, n, 1/(1 - x*(1-x^(k-2))/(1-x) - x^k) - 1/(1 - x*(1-x^(k-2))/(1-x)) + O(x*x^n)), -n)} \\ Andrew Howroyd, May 18 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|