login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A336516 Sum of parts, counted without multiplicity, in all compositions of n. 5
0, 1, 3, 10, 24, 59, 136, 309, 682, 1493, 3223, 6904, 14675, 31013, 65202, 136512, 284748, 592082, 1227709, 2539516, 5241640, 10798133, 22206568, 45597489, 93495667, 191464970, 391636718, 800233551, 1633530732, 3331568080, 6789078236, 13824212219, 28129459098 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Alois P. Heinz, Table of n, a(n) for n = 0..1000

EXAMPLE

a(4) = 1 + 1 + 2 + 1 + 2 + 1 + 2 + 2 + 1 + 3 + 3 + 1 + 4 = 24: (1)111, (1)1(2), (1)(2)1, (2)(1)1, (2)2, (1)(3), (3)(1), (4).

MAPLE

b:= proc(n, i, p) option remember; `if`(n=0, [p!, 0],

      `if`(i<1, 0, add((p-> [0, `if`(j=0, 0, p[1]*i)]+p)(

         b(n-i*j, i-1, p+j)/j!), j=0..n/i)))

    end:

a:= n-> b(n$2, 0)[2]:

seq(a(n), n=0..38);

CROSSREFS

Cf. A001787 (all parts), A014153 (the same for partitions), A336511, A336512, A336579, A336875.

Sequence in context: A053208 A338706 A338710 * A286209 A293797 A179608

Adjacent sequences:  A336513 A336514 A336515 * A336517 A336518 A336519

KEYWORD

nonn

AUTHOR

Alois P. Heinz, Jul 24 2020

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 3 21:17 EST 2021. Contains 349468 sequences. (Running on oeis4.)