

A265247


Triangle read by rows: T(n,k) is the number of partitions of n in which the 2nd smallest part is k when the partition has at least 2 distinct parts and 0 otherwise; (n>=1, 0 <= k <= n).


2



1, 2, 0, 2, 0, 1, 3, 0, 1, 1, 2, 0, 2, 2, 1, 4, 0, 3, 1, 2, 1, 2, 0, 5, 3, 2, 2, 1, 4, 0, 7, 4, 2, 2, 2, 1, 3, 0, 11, 6, 2, 3, 2, 2, 1, 4, 0, 15, 8, 6, 1, 3, 2, 2, 1, 2, 0, 22, 12, 6, 4, 2, 3, 2, 2, 1, 6, 0, 30, 15, 9, 4, 3, 2, 3, 2, 2, 1, 2, 0, 42, 22, 11, 8, 2, 4, 2, 3, 2, 2, 1, 4, 0, 56, 28, 16, 10, 6, 1, 4, 2, 3, 2, 2, 1, 4, 0, 77, 38, 19, 11, 7, 4, 2, 4, 2, 3, 2, 2, 1
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

Number of entries in row n is n.
Sum of entries in row n is A000041(n) = number of partitions of n.
T(n,0) = A000005(n) = number of divisors of n.
T(n,1) = 0.
T(n,2) = A000041(n3), i.e., for n>=3 the number of partitions of n having 2 as the 2nd smallest part is equal to the number of partitions of n3 (follows from a simple bijection: delete a part 2 and a part 1).
Sum_{k>=0} k*T(n,k) = A265248(n).


LINKS

Table of n, a(n) for n=1..120.


FORMULA

G.f.: G(t,x) = Sum_{i>=1} x^i/(1x^i) (1 + Sum_{j>=i+1} t^j*x^j/Product_{k>=j}(1x^k)).


EXAMPLE

T(5,3) = 2 because of [3,2] and [3,1,1].
Triangle starts:
1;
2, 0;
2, 0, 1;
3, 0, 1, 1;
2, 0, 2, 2, 1;
4, 0, 3, 1, 2, 1.


MAPLE

g := add(x^i*(1+add(t^j*x^j/(mul(1x^k, k=j..80)), j=i+1..80))/(1x^i), i=1..80):
gser := simplify(series(g, x = 0, 25)):
for n to 20 do P[n] := sort(coeff(gser, x, n)) end do:
for n to 20 do seq(coeff(P[n], t, k), k = 0 .. n1) end do; # yields sequence in triangular form


CROSSREFS

Cf. A000005, A000041, A265248.
Sequence in context: A105783 A326819 A268189 * A022879 A340524 A064984
Adjacent sequences: A265244 A265245 A265246 * A265248 A265249 A265250


KEYWORD

nonn,tabl


AUTHOR

Emeric Deutsch, Dec 24 2015


STATUS

approved



