cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A188576 Number of compositions of n with the LMV property.

Original entry on oeis.org

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
Offset: 1

Views

Author

N. J. A. Sloane, Apr 04 2011

Keywords

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

Examples

			The a(5) = 6 compositions of 5 with the LMV property are: 5, 14, 41, 113, 131, 311. - _Andrew Howroyd_, May 18 2020
		

Crossrefs

Programs

  • 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

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

Extensions

Terms a(21) and beyond from Andrew Howroyd, May 18 2020