login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A046776 Number of partitions of 5n with equal number of parts congruent to each of 0, 1, 2, 3 and 4 (mod 5). 11
1, 0, 0, 1, 5, 15, 36, 75, 146, 271, 495, 891, 1601, 2851, 5051, 8851, 15362, 26331, 44642, 74787, 123991, 203433, 330717, 532872, 851779, 1351147, 2128324, 3330059, 5177768, 8002170, 12296754, 18791945, 28566751, 43204575, 65022987, 97395386 (list; graph; refs; listen; history; internal format)
OFFSET

0,5

COMMENTS

Number of partitions of m with equal numbers of parts congruent to each of 1, 2, 3 and 4 (mod 5) is 0 unless m == 0 mod 5.

LINKS

Index and properties of sequences related to partitions of 5n

FORMULA

a(n) = A202085(n) - A202086(n)

a(n) = A036884(n) - A036886(n)

a(n) = A036889(n) - A036892(n)

a(n) = A202087(n) - A202088(n)

MAPLE

Contribution from Alois P. Heinz (heinz(AT)hs-heilbronn.de), Jul 04 2009: (Start)

mkl:= proc(i, l) local ll, mn, ii, x; ii:= irem(i, 5); ii:= `if` (ii=0, 5, ii); ll:= applyop (x->x+1, ii, l); mn:= min (l[]); `if`(mn=0, ll, map (x->x-mn, ll)) end:

g:= proc (n, i, t) local m, mx, j; if n<0 then 0 elif n=0 then `if` (nops ({t[]})=1, 1, 0) elif i=0 then 0 elif i<6 then mx:= max (t[]); m:= n-15*mx +add (t[j]*j, j=1..5); g(n, i, t):= `if`(m>=0 and irem (m, 15)=0, 1, 0) else g(n, i, t):= g (n, i-1, t) + g (n-i, i, mkl(i, t)) fi end:

a:= n-> g (5*n, 5*n, [0, 0, 0, 0, 0]): seq (a(n), n=0..20); (End)

CROSSREFS

Cf. A046787.

Sequence in context: A093802 A006008 A086716 * A144898 A163250 A053808

Adjacent sequences:  A046773 A046774 A046775 * A046777 A046778 A046779

KEYWORD

nonn

AUTHOR

David W. Wilson (davidwwilson(AT)comcast.net)

EXTENSIONS

a(18)-a(35) from Alois P. Heinz (heinz(AT)hs-heilbronn.de), Jul 04 2009

Edited by Max Alekseyev (maxale(AT)gmail.com), Dec 11 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 14:07 EST 2012. Contains 205623 sequences.