Number of ways to insert $kin[n]$ identical elements to two $n$ long lists











up vote
1
down vote

favorite












Suppose we have two lists $a=a_{1},a_{2},ldots,a_{n}$, $ b=b_{1},b_{2},ldots,b_{n}$ and we want to determine how many ways there are to insert $k$ identical elements $X$ independently into both lists (i.e. at the beginning, between two elements, or at the end, where we can have consecutive Xs) and $k$ can range from 1 to $n$.



Given $k$, we can model this as choosing $k$ slots with replacement out of the $n+1$ available slots. Since both lists are independent, this should be squared, giving $$binom{n+k}{n}^{2}$$



Considering any possible $kinleft[nright]$, this becomes $$sum_{k=1}^{n}binom{n+k}{n}^{2}$$



Is this analysis correct? If so, what is the best exponential lower bound I can get for the above expression?










share|cite|improve this question
























  • I think it should be $n+kchoose n$ not $n+k-1choose n$. I don't understand why you are choosing $k-1$ slots when you have $k$ identical elements.
    – Levent
    2 days ago












  • Oi, you are right of course, thanks.
    – H.Rappeport
    2 days ago










  • I want to point out that $2^{2n}$ is a lower bound for the expression if that is useful to you.
    – Levent
    2 days ago










  • @Levent Could you provide a reference or a sketch of the derivation for this bound?
    – H.Rappeport
    2 days ago










  • Note that the last summand is ${2nchoose n}^2$ and I used the fact that $2^nleq{2nchoose n}$.
    – Levent
    yesterday















up vote
1
down vote

favorite












Suppose we have two lists $a=a_{1},a_{2},ldots,a_{n}$, $ b=b_{1},b_{2},ldots,b_{n}$ and we want to determine how many ways there are to insert $k$ identical elements $X$ independently into both lists (i.e. at the beginning, between two elements, or at the end, where we can have consecutive Xs) and $k$ can range from 1 to $n$.



Given $k$, we can model this as choosing $k$ slots with replacement out of the $n+1$ available slots. Since both lists are independent, this should be squared, giving $$binom{n+k}{n}^{2}$$



Considering any possible $kinleft[nright]$, this becomes $$sum_{k=1}^{n}binom{n+k}{n}^{2}$$



Is this analysis correct? If so, what is the best exponential lower bound I can get for the above expression?










share|cite|improve this question
























  • I think it should be $n+kchoose n$ not $n+k-1choose n$. I don't understand why you are choosing $k-1$ slots when you have $k$ identical elements.
    – Levent
    2 days ago












  • Oi, you are right of course, thanks.
    – H.Rappeport
    2 days ago










  • I want to point out that $2^{2n}$ is a lower bound for the expression if that is useful to you.
    – Levent
    2 days ago










  • @Levent Could you provide a reference or a sketch of the derivation for this bound?
    – H.Rappeport
    2 days ago










  • Note that the last summand is ${2nchoose n}^2$ and I used the fact that $2^nleq{2nchoose n}$.
    – Levent
    yesterday













up vote
1
down vote

favorite









up vote
1
down vote

favorite











Suppose we have two lists $a=a_{1},a_{2},ldots,a_{n}$, $ b=b_{1},b_{2},ldots,b_{n}$ and we want to determine how many ways there are to insert $k$ identical elements $X$ independently into both lists (i.e. at the beginning, between two elements, or at the end, where we can have consecutive Xs) and $k$ can range from 1 to $n$.



Given $k$, we can model this as choosing $k$ slots with replacement out of the $n+1$ available slots. Since both lists are independent, this should be squared, giving $$binom{n+k}{n}^{2}$$



Considering any possible $kinleft[nright]$, this becomes $$sum_{k=1}^{n}binom{n+k}{n}^{2}$$



Is this analysis correct? If so, what is the best exponential lower bound I can get for the above expression?










share|cite|improve this question















Suppose we have two lists $a=a_{1},a_{2},ldots,a_{n}$, $ b=b_{1},b_{2},ldots,b_{n}$ and we want to determine how many ways there are to insert $k$ identical elements $X$ independently into both lists (i.e. at the beginning, between two elements, or at the end, where we can have consecutive Xs) and $k$ can range from 1 to $n$.



Given $k$, we can model this as choosing $k$ slots with replacement out of the $n+1$ available slots. Since both lists are independent, this should be squared, giving $$binom{n+k}{n}^{2}$$



Considering any possible $kinleft[nright]$, this becomes $$sum_{k=1}^{n}binom{n+k}{n}^{2}$$



Is this analysis correct? If so, what is the best exponential lower bound I can get for the above expression?







combinatorics






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 2 days ago

























asked 2 days ago









H.Rappeport

6161410




6161410












  • I think it should be $n+kchoose n$ not $n+k-1choose n$. I don't understand why you are choosing $k-1$ slots when you have $k$ identical elements.
    – Levent
    2 days ago












  • Oi, you are right of course, thanks.
    – H.Rappeport
    2 days ago










  • I want to point out that $2^{2n}$ is a lower bound for the expression if that is useful to you.
    – Levent
    2 days ago










  • @Levent Could you provide a reference or a sketch of the derivation for this bound?
    – H.Rappeport
    2 days ago










  • Note that the last summand is ${2nchoose n}^2$ and I used the fact that $2^nleq{2nchoose n}$.
    – Levent
    yesterday


















  • I think it should be $n+kchoose n$ not $n+k-1choose n$. I don't understand why you are choosing $k-1$ slots when you have $k$ identical elements.
    – Levent
    2 days ago












  • Oi, you are right of course, thanks.
    – H.Rappeport
    2 days ago










  • I want to point out that $2^{2n}$ is a lower bound for the expression if that is useful to you.
    – Levent
    2 days ago










  • @Levent Could you provide a reference or a sketch of the derivation for this bound?
    – H.Rappeport
    2 days ago










  • Note that the last summand is ${2nchoose n}^2$ and I used the fact that $2^nleq{2nchoose n}$.
    – Levent
    yesterday
















I think it should be $n+kchoose n$ not $n+k-1choose n$. I don't understand why you are choosing $k-1$ slots when you have $k$ identical elements.
– Levent
2 days ago






I think it should be $n+kchoose n$ not $n+k-1choose n$. I don't understand why you are choosing $k-1$ slots when you have $k$ identical elements.
– Levent
2 days ago














Oi, you are right of course, thanks.
– H.Rappeport
2 days ago




Oi, you are right of course, thanks.
– H.Rappeport
2 days ago












I want to point out that $2^{2n}$ is a lower bound for the expression if that is useful to you.
– Levent
2 days ago




I want to point out that $2^{2n}$ is a lower bound for the expression if that is useful to you.
– Levent
2 days ago












@Levent Could you provide a reference or a sketch of the derivation for this bound?
– H.Rappeport
2 days ago




@Levent Could you provide a reference or a sketch of the derivation for this bound?
– H.Rappeport
2 days ago












Note that the last summand is ${2nchoose n}^2$ and I used the fact that $2^nleq{2nchoose n}$.
– Levent
yesterday




Note that the last summand is ${2nchoose n}^2$ and I used the fact that $2^nleq{2nchoose n}$.
– Levent
yesterday















active

oldest

votes











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',
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
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3005444%2fnumber-of-ways-to-insert-k-inn-identical-elements-to-two-n-long-lists%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3005444%2fnumber-of-ways-to-insert-k-inn-identical-elements-to-two-n-long-lists%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith