Closed formula of $(1+x_1)(1+x_1+x_2)^2dots(1+x_1+dots+x_n)^n$
$begingroup$
I am working on a larger problem which I have managed to reduce to a pretty neat generating function. The answer will be given by the coefficient of $x_1x_2dots x_n$ in
$F(x_1,dots,x_n)=(1+x_1)(1+x_1+x_2)^2dots (1+x_1+x_2+dots+x_n)^n$
Now, I have two questions about this function:
- I have been trying desperately to find a closed formula for this function, but without success. Am I missing something very obvious or is this as good as it gets?
- Is there a nice expression for the coefficient (call it $a_n$) of $x_1x_2,dots,x_n$? Here I might have made some progress. By writing each $(1+x_1+dots+x_i)^i$ as a multinomial I have been able to come up with this expression (hopefully correct...):
begin{align}
sum_{k_1+dots+k_n=n}left[binom{1}{k_1}binom{2}{k_2}dots binom{n}{k_n}(2-k_1)(3-(k_1+k_2))dots(n-(k_1+dots+k_{n-1})) right]
end{align}
but I don't seem to be able to reduce it to something nicer.
Any hints would be very much appreciated!
combinatorics generating-functions
$endgroup$
add a comment |
$begingroup$
I am working on a larger problem which I have managed to reduce to a pretty neat generating function. The answer will be given by the coefficient of $x_1x_2dots x_n$ in
$F(x_1,dots,x_n)=(1+x_1)(1+x_1+x_2)^2dots (1+x_1+x_2+dots+x_n)^n$
Now, I have two questions about this function:
- I have been trying desperately to find a closed formula for this function, but without success. Am I missing something very obvious or is this as good as it gets?
- Is there a nice expression for the coefficient (call it $a_n$) of $x_1x_2,dots,x_n$? Here I might have made some progress. By writing each $(1+x_1+dots+x_i)^i$ as a multinomial I have been able to come up with this expression (hopefully correct...):
begin{align}
sum_{k_1+dots+k_n=n}left[binom{1}{k_1}binom{2}{k_2}dots binom{n}{k_n}(2-k_1)(3-(k_1+k_2))dots(n-(k_1+dots+k_{n-1})) right]
end{align}
but I don't seem to be able to reduce it to something nicer.
Any hints would be very much appreciated!
combinatorics generating-functions
$endgroup$
$begingroup$
To save future readers some effort, I note that at present this sequence is not in OEIS.
$endgroup$
– Peter Taylor
Dec 20 '18 at 13:02
add a comment |
$begingroup$
I am working on a larger problem which I have managed to reduce to a pretty neat generating function. The answer will be given by the coefficient of $x_1x_2dots x_n$ in
$F(x_1,dots,x_n)=(1+x_1)(1+x_1+x_2)^2dots (1+x_1+x_2+dots+x_n)^n$
Now, I have two questions about this function:
- I have been trying desperately to find a closed formula for this function, but without success. Am I missing something very obvious or is this as good as it gets?
- Is there a nice expression for the coefficient (call it $a_n$) of $x_1x_2,dots,x_n$? Here I might have made some progress. By writing each $(1+x_1+dots+x_i)^i$ as a multinomial I have been able to come up with this expression (hopefully correct...):
begin{align}
sum_{k_1+dots+k_n=n}left[binom{1}{k_1}binom{2}{k_2}dots binom{n}{k_n}(2-k_1)(3-(k_1+k_2))dots(n-(k_1+dots+k_{n-1})) right]
end{align}
but I don't seem to be able to reduce it to something nicer.
Any hints would be very much appreciated!
combinatorics generating-functions
$endgroup$
I am working on a larger problem which I have managed to reduce to a pretty neat generating function. The answer will be given by the coefficient of $x_1x_2dots x_n$ in
$F(x_1,dots,x_n)=(1+x_1)(1+x_1+x_2)^2dots (1+x_1+x_2+dots+x_n)^n$
Now, I have two questions about this function:
- I have been trying desperately to find a closed formula for this function, but without success. Am I missing something very obvious or is this as good as it gets?
- Is there a nice expression for the coefficient (call it $a_n$) of $x_1x_2,dots,x_n$? Here I might have made some progress. By writing each $(1+x_1+dots+x_i)^i$ as a multinomial I have been able to come up with this expression (hopefully correct...):
begin{align}
sum_{k_1+dots+k_n=n}left[binom{1}{k_1}binom{2}{k_2}dots binom{n}{k_n}(2-k_1)(3-(k_1+k_2))dots(n-(k_1+dots+k_{n-1})) right]
end{align}
but I don't seem to be able to reduce it to something nicer.
Any hints would be very much appreciated!
combinatorics generating-functions
combinatorics generating-functions
asked Dec 20 '18 at 11:39
KurtKnödelKurtKnödel
474
474
$begingroup$
To save future readers some effort, I note that at present this sequence is not in OEIS.
$endgroup$
– Peter Taylor
Dec 20 '18 at 13:02
add a comment |
$begingroup$
To save future readers some effort, I note that at present this sequence is not in OEIS.
$endgroup$
– Peter Taylor
Dec 20 '18 at 13:02
$begingroup$
To save future readers some effort, I note that at present this sequence is not in OEIS.
$endgroup$
– Peter Taylor
Dec 20 '18 at 13:02
$begingroup$
To save future readers some effort, I note that at present this sequence is not in OEIS.
$endgroup$
– Peter Taylor
Dec 20 '18 at 13:02
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
To obtain the monomial $x_1x_2cdots x_n$ from the product
$$
p = (1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_n)^n
$$
you have to pick the $x_n$ from one of the $(1+x_1+cdots+x_n)$-factors and there are $n$ factors to choose from. Now you are left with the coefficient of $x_1x_2cdots x_{n-1}$ in
$$
(1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_n)^{n-1}
$$
which is the same as the coefficient in
$$
(1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_{n-2})^{n-2}(1+x_1+cdots+x_{n-1})^{2n-2}.
$$
Now you have to pick the $x_{n-1}$ from one of the $(1+x_1+cdots+x_{n-1})$-factors and there are $2n-2$ to pick from.
Continuing this line of thought you get that the coefficient of $x_1x_2cdots x_n$ in $p$ is
$$
n(2n-2)(3n-5)(4n-9)...(nn-*).
$$
Note that by construction the constants $0,2,5,9,dots$ in this product are the sums
$$
0, 2, 2+3, 2+3+4, dots
$$
which are given by
$$
sum_{i=2}^k i = frac{k(k+1)}{2} - 1 = frac{(k-1)(k+2)}{2}.
$$
Hence, the desired coefficient is
$$
prod_{k=1}^n left(kn - frac{(k-1)(k+2)}{2}right).
$$
$endgroup$
$begingroup$
Aah, of course. I can't believe I couldn't figure this out myself. Thank you very much!
$endgroup$
– KurtKnödel
Dec 20 '18 at 12:56
add a comment |
$begingroup$
Write out all $n(n+1)/2$ factors in a row.
The $x_n$ comes from one of the final $n$ factors, the $x_{n-1}$ from one of the final $n+(n-1)$ factors but not the one used for $x_n$, and so on.
The product is
$$n(2n-2)(3n-5)(4n-9)(5n-14)...$$
But I can't help you with that.
$endgroup$
$begingroup$
Thank you, it all makes sense now:)
$endgroup$
– KurtKnödel
Dec 20 '18 at 12:56
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3047448%2fclosed-formula-of-1x-11x-1x-22-dots1x-1-dotsx-nn%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
To obtain the monomial $x_1x_2cdots x_n$ from the product
$$
p = (1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_n)^n
$$
you have to pick the $x_n$ from one of the $(1+x_1+cdots+x_n)$-factors and there are $n$ factors to choose from. Now you are left with the coefficient of $x_1x_2cdots x_{n-1}$ in
$$
(1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_n)^{n-1}
$$
which is the same as the coefficient in
$$
(1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_{n-2})^{n-2}(1+x_1+cdots+x_{n-1})^{2n-2}.
$$
Now you have to pick the $x_{n-1}$ from one of the $(1+x_1+cdots+x_{n-1})$-factors and there are $2n-2$ to pick from.
Continuing this line of thought you get that the coefficient of $x_1x_2cdots x_n$ in $p$ is
$$
n(2n-2)(3n-5)(4n-9)...(nn-*).
$$
Note that by construction the constants $0,2,5,9,dots$ in this product are the sums
$$
0, 2, 2+3, 2+3+4, dots
$$
which are given by
$$
sum_{i=2}^k i = frac{k(k+1)}{2} - 1 = frac{(k-1)(k+2)}{2}.
$$
Hence, the desired coefficient is
$$
prod_{k=1}^n left(kn - frac{(k-1)(k+2)}{2}right).
$$
$endgroup$
$begingroup$
Aah, of course. I can't believe I couldn't figure this out myself. Thank you very much!
$endgroup$
– KurtKnödel
Dec 20 '18 at 12:56
add a comment |
$begingroup$
To obtain the monomial $x_1x_2cdots x_n$ from the product
$$
p = (1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_n)^n
$$
you have to pick the $x_n$ from one of the $(1+x_1+cdots+x_n)$-factors and there are $n$ factors to choose from. Now you are left with the coefficient of $x_1x_2cdots x_{n-1}$ in
$$
(1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_n)^{n-1}
$$
which is the same as the coefficient in
$$
(1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_{n-2})^{n-2}(1+x_1+cdots+x_{n-1})^{2n-2}.
$$
Now you have to pick the $x_{n-1}$ from one of the $(1+x_1+cdots+x_{n-1})$-factors and there are $2n-2$ to pick from.
Continuing this line of thought you get that the coefficient of $x_1x_2cdots x_n$ in $p$ is
$$
n(2n-2)(3n-5)(4n-9)...(nn-*).
$$
Note that by construction the constants $0,2,5,9,dots$ in this product are the sums
$$
0, 2, 2+3, 2+3+4, dots
$$
which are given by
$$
sum_{i=2}^k i = frac{k(k+1)}{2} - 1 = frac{(k-1)(k+2)}{2}.
$$
Hence, the desired coefficient is
$$
prod_{k=1}^n left(kn - frac{(k-1)(k+2)}{2}right).
$$
$endgroup$
$begingroup$
Aah, of course. I can't believe I couldn't figure this out myself. Thank you very much!
$endgroup$
– KurtKnödel
Dec 20 '18 at 12:56
add a comment |
$begingroup$
To obtain the monomial $x_1x_2cdots x_n$ from the product
$$
p = (1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_n)^n
$$
you have to pick the $x_n$ from one of the $(1+x_1+cdots+x_n)$-factors and there are $n$ factors to choose from. Now you are left with the coefficient of $x_1x_2cdots x_{n-1}$ in
$$
(1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_n)^{n-1}
$$
which is the same as the coefficient in
$$
(1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_{n-2})^{n-2}(1+x_1+cdots+x_{n-1})^{2n-2}.
$$
Now you have to pick the $x_{n-1}$ from one of the $(1+x_1+cdots+x_{n-1})$-factors and there are $2n-2$ to pick from.
Continuing this line of thought you get that the coefficient of $x_1x_2cdots x_n$ in $p$ is
$$
n(2n-2)(3n-5)(4n-9)...(nn-*).
$$
Note that by construction the constants $0,2,5,9,dots$ in this product are the sums
$$
0, 2, 2+3, 2+3+4, dots
$$
which are given by
$$
sum_{i=2}^k i = frac{k(k+1)}{2} - 1 = frac{(k-1)(k+2)}{2}.
$$
Hence, the desired coefficient is
$$
prod_{k=1}^n left(kn - frac{(k-1)(k+2)}{2}right).
$$
$endgroup$
To obtain the monomial $x_1x_2cdots x_n$ from the product
$$
p = (1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_n)^n
$$
you have to pick the $x_n$ from one of the $(1+x_1+cdots+x_n)$-factors and there are $n$ factors to choose from. Now you are left with the coefficient of $x_1x_2cdots x_{n-1}$ in
$$
(1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_n)^{n-1}
$$
which is the same as the coefficient in
$$
(1+x_1)(1+x_1+x_2)^2cdots (1+x_1+cdots+x_{n-2})^{n-2}(1+x_1+cdots+x_{n-1})^{2n-2}.
$$
Now you have to pick the $x_{n-1}$ from one of the $(1+x_1+cdots+x_{n-1})$-factors and there are $2n-2$ to pick from.
Continuing this line of thought you get that the coefficient of $x_1x_2cdots x_n$ in $p$ is
$$
n(2n-2)(3n-5)(4n-9)...(nn-*).
$$
Note that by construction the constants $0,2,5,9,dots$ in this product are the sums
$$
0, 2, 2+3, 2+3+4, dots
$$
which are given by
$$
sum_{i=2}^k i = frac{k(k+1)}{2} - 1 = frac{(k-1)(k+2)}{2}.
$$
Hence, the desired coefficient is
$$
prod_{k=1}^n left(kn - frac{(k-1)(k+2)}{2}right).
$$
edited Dec 20 '18 at 12:18
answered Dec 20 '18 at 12:11
ChristophChristoph
12.5k1642
12.5k1642
$begingroup$
Aah, of course. I can't believe I couldn't figure this out myself. Thank you very much!
$endgroup$
– KurtKnödel
Dec 20 '18 at 12:56
add a comment |
$begingroup$
Aah, of course. I can't believe I couldn't figure this out myself. Thank you very much!
$endgroup$
– KurtKnödel
Dec 20 '18 at 12:56
$begingroup$
Aah, of course. I can't believe I couldn't figure this out myself. Thank you very much!
$endgroup$
– KurtKnödel
Dec 20 '18 at 12:56
$begingroup$
Aah, of course. I can't believe I couldn't figure this out myself. Thank you very much!
$endgroup$
– KurtKnödel
Dec 20 '18 at 12:56
add a comment |
$begingroup$
Write out all $n(n+1)/2$ factors in a row.
The $x_n$ comes from one of the final $n$ factors, the $x_{n-1}$ from one of the final $n+(n-1)$ factors but not the one used for $x_n$, and so on.
The product is
$$n(2n-2)(3n-5)(4n-9)(5n-14)...$$
But I can't help you with that.
$endgroup$
$begingroup$
Thank you, it all makes sense now:)
$endgroup$
– KurtKnödel
Dec 20 '18 at 12:56
add a comment |
$begingroup$
Write out all $n(n+1)/2$ factors in a row.
The $x_n$ comes from one of the final $n$ factors, the $x_{n-1}$ from one of the final $n+(n-1)$ factors but not the one used for $x_n$, and so on.
The product is
$$n(2n-2)(3n-5)(4n-9)(5n-14)...$$
But I can't help you with that.
$endgroup$
$begingroup$
Thank you, it all makes sense now:)
$endgroup$
– KurtKnödel
Dec 20 '18 at 12:56
add a comment |
$begingroup$
Write out all $n(n+1)/2$ factors in a row.
The $x_n$ comes from one of the final $n$ factors, the $x_{n-1}$ from one of the final $n+(n-1)$ factors but not the one used for $x_n$, and so on.
The product is
$$n(2n-2)(3n-5)(4n-9)(5n-14)...$$
But I can't help you with that.
$endgroup$
Write out all $n(n+1)/2$ factors in a row.
The $x_n$ comes from one of the final $n$ factors, the $x_{n-1}$ from one of the final $n+(n-1)$ factors but not the one used for $x_n$, and so on.
The product is
$$n(2n-2)(3n-5)(4n-9)(5n-14)...$$
But I can't help you with that.
answered Dec 20 '18 at 12:04
Empy2Empy2
33.6k12462
33.6k12462
$begingroup$
Thank you, it all makes sense now:)
$endgroup$
– KurtKnödel
Dec 20 '18 at 12:56
add a comment |
$begingroup$
Thank you, it all makes sense now:)
$endgroup$
– KurtKnödel
Dec 20 '18 at 12:56
$begingroup$
Thank you, it all makes sense now:)
$endgroup$
– KurtKnödel
Dec 20 '18 at 12:56
$begingroup$
Thank you, it all makes sense now:)
$endgroup$
– KurtKnödel
Dec 20 '18 at 12:56
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3047448%2fclosed-formula-of-1x-11x-1x-22-dots1x-1-dotsx-nn%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
To save future readers some effort, I note that at present this sequence is not in OEIS.
$endgroup$
– Peter Taylor
Dec 20 '18 at 13:02