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!)
A168606 The number of ways of partitioning the multiset {1,1,1,2,3,...,n-2} into exactly four nonempty parts. 4
1, 4, 20, 102, 496, 2294, 10200, 44062, 186416, 776934, 3203080, 13101422, 53279136, 215749174, 870919160, 3507493182, 14101520656, 56620923014, 227128606440, 910449955342, 3647607982976, 14607859562454, 58483727432920 (list; graph; refs; listen; history; text; internal format)
OFFSET
4,2
COMMENTS
The number of ways of partitioning the multiset {1, 1, 1, 2, 3, ..., n-1} into exactly two and three nonempty parts are given in A168604 and A168605 respectively.
LINKS
FORMULA
a(n) = (10*4^(n-4) - 5*3^(n-3) + 9*2^(n-4) - 1)/3.
The shifted e.g.f. is (10*exp(4*x) - 15*exp(3*x) + 9*exp(2*x) - exp(x))/3.
G.f.: x^4*(1 -6*x +15*x^2 -8*x^3)/((1-x)*(1-2*x)*(1-3*x)*(1-4*x)).
MATHEMATICA
a[n_]:= (10*4^(n-4) - 5*3^(n-3) + 9*2^(n-4) - 1)/3; Table[a[n], {n, 4, 30}]
PROG
(Sage) [(10*4^(n-4) -5*3^(n-3) +9*2^(n-4) -1)/3 for n in (4..30)] # G. C. Greubel, Feb 07 2021
(Magma) [(10*4^(n-4) -5*3^(n-3) +9*2^(n-4) -1)/3: n in [4..30]]; // G. C. Greubel, Feb 07 2021
CROSSREFS
Sequence in context: A242156 A186369 A093440 * A229135 A226198 A155485
KEYWORD
nonn,easy
AUTHOR
Martin Griffiths, Dec 01 2009
EXTENSIONS
Last element of the multiset in the definition corrected by Martin Griffiths, Dec 02 2009
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 19 09:23 EDT 2024. Contains 371782 sequences. (Running on oeis4.)