|
| |
|
|
A118267
|
|
Number of partitions of n such that if the smallest part is k, then both k and k+1 occur exactly once.
|
|
0
| |
|
|
0, 0, 1, 0, 1, 1, 2, 1, 4, 3, 5, 6, 9, 9, 15, 15, 22, 26, 34, 38, 53, 60, 77, 91, 115, 133, 170, 196, 243, 287, 349, 408, 500, 582, 701, 822, 984, 1147, 1371, 1594, 1889, 2204, 2596, 3014, 3549, 4111, 4812, 5576, 6502, 7512, 8744, 10081, 11691, 13470, 15573, 17898
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,7
|
|
|
COMMENTS
| Also number of partitions of n such that if the largest part is k, then k-1 occurs exactly once and k-2 also occurs (0 is considered to be a part of each partition). Example: a(11)=5 because we have [4,3,2,2],[4,3,2,1,1],[3,3,2,1,1,1],[2,2,2,2,2,1] and [3,2,1,1,1,1,1,1].
|
|
|
FORMULA
| G.f.=sum(x^(2k+1)/product(1-x^j, j=k+2..infinity), k=1..infinity). G.f.=sum(x^(3k-3)/[(1-x^k)*product(1-x^j, j=1..k-2)], k=2..infinity).
|
|
|
EXAMPLE
| a(11)=5 because we have [8,2,1],[6,5],[6,3,2],[5,3,2,1] and [4,4,2,1].
|
|
|
MAPLE
| g:=sum(x^(3*k-3)/(1-x^k)/product(1-x^j, j=1..k-2), k=2..30): gser:=series(g, x, 65): seq(coeff(gser, x, n), n=1..62);
|
|
|
CROSSREFS
| Sequence in context: A107640 A030065 A055176 * A075348 A055631 A186421
Adjacent sequences: A118264 A118265 A118266 * A118268 A118269 A118270
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 20 2006
|
| |
|
|