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!)
A116929 Triangle read by rows: T(n,k) is the number of partitions of n into odd parts such that the sum of the parts, counted without multiplicities, is equal to k (n>=1, k>=1). 2
1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 2, 0, 1, 1, 1, 0, 0, 2, 0, 1, 0, 2, 1, 0, 1, 2, 0, 1, 0, 1, 2, 1, 0, 0, 3, 1, 1, 0, 1, 1, 2, 1, 0, 0, 3, 0, 2, 0, 2, 1, 1, 2, 1, 0, 1, 3, 0, 2, 0, 1, 2, 1, 1, 3, 1, 0, 0, 4, 0, 2, 0, 2, 2, 2, 1, 1, 3, 1, 0, 0, 4, 0, 2, 1, 2, 3, 1, 2, 1, 2, 3 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,25
COMMENTS
Row sums yield A000009. T(n,n)=A000700(n). Sum(k*T(n,k),k=1..n)=A116930(n).
LINKS
FORMULA
G.f.: -1+product(1+t^(2j-1)*x^(2j-1)/(1-x^(2j-1)), j=1..infinity).
EXAMPLE
T(10,4) = 3 because we have [3,3,3,1], [3,3,1,1,1,1] and [3,1,1,1,1,1,1,1].
Triangle starts:
1;
1,0;
1,0,1;
1,0,0,1;
1,0,0,1,1;
MAPLE
g:=-1+product(1+t^(2*j-1)*x^(2*j-1)/(1-x^(2*j-1)), j=1..40): gser:=simplify(series(g, x=0, 20)): for n from 1 to 15 do P[n]:=sort(coeff(gser, x^n)) od: for n from 1 to 15 do seq(coeff(P[n], t^j), j=1..n) od; # yields sequence in triangular form
# second Maple program:
b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,
expand(b(n, i-2)+add(x^i*b(n-i*j, i-2), j=1..n/i))))
end:
T:= n-> (p-> seq(coeff(p, x, i), i=1..n))(b(n, iquo(n-1, 2)*2+1)):
seq(T(n), n=1..14); # Alois P. Heinz, May 14 2014
MATHEMATICA
b[n_, i_] := b[n, i] = If[n == 0, 1, If[i<1, 0, Expand[b[n, i-2] + Sum[x^i*b[n-i*j, i-2], {j, 1, n/i}]]]]; T[n_] := Function[{p}, Table[Coefficient[p, x, i], {i, 1, n}]][b[n, Quotient[n-1, 2]*2+1]]; Table[T[n], {n, 1, 14}] // Flatten (* Jean-François Alcover, Feb 19 2015, after Alois P. Heinz *)
CROSSREFS
Sequence in context: A351319 A213725 A213726 * A059984 A046675 A275949
KEYWORD
nonn,tabl,look
AUTHOR
Emeric Deutsch, Feb 27 2006
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 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)