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!)
A256525 Number of partitions of 3n into at most 5 parts. 2
1, 3, 10, 23, 47, 84, 141, 221, 333, 480, 674, 918, 1226, 1602, 2062, 2611, 3266, 4033, 4932, 5969, 7166, 8529, 10083, 11835, 13811, 16019, 18487, 21224, 24260, 27604, 31289, 35324, 39744, 44559, 49806, 55496, 61667, 68331, 75529, 83273, 91606, 100540 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,0,-2,2,-1,-2,2,1,-2,2,0,-2,1).
FORMULA
G.f.: -(x^8+x^7+4*x^6+5*x^5+5*x^4+5*x^3+4*x^2+x+1) / ((x-1)^5*(x+1)^2*(x^2+1)*(x^4+x^3+x^2+x+1)).
a(n) = A001401(3n). - Alois P. Heinz, Apr 01 2015
EXAMPLE
For n=1 the 3 partitions of 1*3 = 3 are [3], [1,2] and [1,1,1].
MATHEMATICA
Table[Length[IntegerPartitions[3n, 5]], {n, 0, 50}] (* Harvey P. Dale, Mar 08 2019 *)
PROG
(PARI) concat(1, vector(40, n, k=0; forpart(p=3*n, k++, , [1, 5]); k))
(PARI) Vec(-(x^8+x^7+4*x^6+5*x^5+5*x^4+5*x^3+4*x^2+x+1) / ((x-1)^5*(x+1)^2*(x^2+1)*(x^4+x^3+x^2+x+1)) + O(x^100))
CROSSREFS
Cf. A001401, A077043 (3 parts), A256524 (4 parts), A256315 (6 parts).
Sequence in context: A068043 A145069 A293350 * A192973 A294503 A080204
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Apr 01 2015
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 17:51 EDT 2024. Contains 371962 sequences. (Running on oeis4.)