login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098124 Number of compositions of n in which the largest part is equal to the number of parts. 16
1, 0, 2, 1, 3, 6, 10, 15, 30, 54, 92, 160, 282, 492, 859, 1490, 2570, 4428, 7627, 13098, 22421, 38290, 65265, 111018, 188475, 319380, 540266, 912397, 1538371, 2589858, 4353820, 7309362, 12255474, 20523307, 34328731, 57357184, 95733131, 159626049 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
G.f.: Sum_{k>=1} ((x^(k+1)-x)^k - (x^k-x)^k)/(x-1)^k.
EXAMPLE
a(7)=10 because we have 223, 232, 322, 133, 313, 331, 1114, 1141, 1411 and 4111.
MAPLE
G:=sum(((x^(k+1)-x)^k-(x^k-x)^k)/(x-1)^k, k=1..25):Gser:=series(G, x=0, 45):seq(coeff(Gser, x^n), n=1..42); # Emeric Deutsch, Apr 16 2005
CROSSREFS
Sequence in context: A329101 A024866 A076058 * A020992 A025110 A075346
KEYWORD
easy,nonn
AUTHOR
Vladeta Jovovic, Sep 25 2004
EXTENSIONS
More terms from Emeric Deutsch, Apr 16 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 14:54 EDT 2024. Contains 371960 sequences. (Running on oeis4.)