Finding the generating function to split $n$ into odd parts












0












$begingroup$


I have been recently working with generating functions in my discrete
mathematics course, and I was interested in one particular generating function.
I want to find the generating function for the number of ways one can split
$n$ into odd parts. I can see that the first coefficients of the sequence are
$$0,1,1,2,2,3,4,5,...$$
And so on. I've been trying to find a recursion, and while it seemed originally
that the number of ways looked to be the ceiling of
$frac{n}{2}.$ But it seems like the $6$th coefficient suggests otherwise. Is
there another possible recursion going on in this sequence? If so, how would I
go about finding the generating function for it?










share|cite|improve this question









$endgroup$








  • 3




    $begingroup$
    The number of partitions of $n$ into odd parts is the same as the number of partitions of $n$ into distinct parts; the generating function is $$prod_{kge 1}left(1+x^kright)=prod_{kge 1}frac1{1-x^{2k-1}}$$ (see for example here).
    $endgroup$
    – Brian M. Scott
    Jun 13 '16 at 22:05
















0












$begingroup$


I have been recently working with generating functions in my discrete
mathematics course, and I was interested in one particular generating function.
I want to find the generating function for the number of ways one can split
$n$ into odd parts. I can see that the first coefficients of the sequence are
$$0,1,1,2,2,3,4,5,...$$
And so on. I've been trying to find a recursion, and while it seemed originally
that the number of ways looked to be the ceiling of
$frac{n}{2}.$ But it seems like the $6$th coefficient suggests otherwise. Is
there another possible recursion going on in this sequence? If so, how would I
go about finding the generating function for it?










share|cite|improve this question









$endgroup$








  • 3




    $begingroup$
    The number of partitions of $n$ into odd parts is the same as the number of partitions of $n$ into distinct parts; the generating function is $$prod_{kge 1}left(1+x^kright)=prod_{kge 1}frac1{1-x^{2k-1}}$$ (see for example here).
    $endgroup$
    – Brian M. Scott
    Jun 13 '16 at 22:05














0












0








0





$begingroup$


I have been recently working with generating functions in my discrete
mathematics course, and I was interested in one particular generating function.
I want to find the generating function for the number of ways one can split
$n$ into odd parts. I can see that the first coefficients of the sequence are
$$0,1,1,2,2,3,4,5,...$$
And so on. I've been trying to find a recursion, and while it seemed originally
that the number of ways looked to be the ceiling of
$frac{n}{2}.$ But it seems like the $6$th coefficient suggests otherwise. Is
there another possible recursion going on in this sequence? If so, how would I
go about finding the generating function for it?










share|cite|improve this question









$endgroup$




I have been recently working with generating functions in my discrete
mathematics course, and I was interested in one particular generating function.
I want to find the generating function for the number of ways one can split
$n$ into odd parts. I can see that the first coefficients of the sequence are
$$0,1,1,2,2,3,4,5,...$$
And so on. I've been trying to find a recursion, and while it seemed originally
that the number of ways looked to be the ceiling of
$frac{n}{2}.$ But it seems like the $6$th coefficient suggests otherwise. Is
there another possible recursion going on in this sequence? If so, how would I
go about finding the generating function for it?







sequences-and-series discrete-mathematics generating-functions






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jun 13 '16 at 22:01









AlexaAlexa

20015




20015








  • 3




    $begingroup$
    The number of partitions of $n$ into odd parts is the same as the number of partitions of $n$ into distinct parts; the generating function is $$prod_{kge 1}left(1+x^kright)=prod_{kge 1}frac1{1-x^{2k-1}}$$ (see for example here).
    $endgroup$
    – Brian M. Scott
    Jun 13 '16 at 22:05














  • 3




    $begingroup$
    The number of partitions of $n$ into odd parts is the same as the number of partitions of $n$ into distinct parts; the generating function is $$prod_{kge 1}left(1+x^kright)=prod_{kge 1}frac1{1-x^{2k-1}}$$ (see for example here).
    $endgroup$
    – Brian M. Scott
    Jun 13 '16 at 22:05








3




3




$begingroup$
The number of partitions of $n$ into odd parts is the same as the number of partitions of $n$ into distinct parts; the generating function is $$prod_{kge 1}left(1+x^kright)=prod_{kge 1}frac1{1-x^{2k-1}}$$ (see for example here).
$endgroup$
– Brian M. Scott
Jun 13 '16 at 22:05




$begingroup$
The number of partitions of $n$ into odd parts is the same as the number of partitions of $n$ into distinct parts; the generating function is $$prod_{kge 1}left(1+x^kright)=prod_{kge 1}frac1{1-x^{2k-1}}$$ (see for example here).
$endgroup$
– Brian M. Scott
Jun 13 '16 at 22:05










1 Answer
1






active

oldest

votes


















3












$begingroup$

The generating function for this sequence is



$f(x)=prodlimits_{n=1}^{infty} cfrac{1}{1-x^{2n-1}}$



since



$f(x)=(1+x+x^{1+1}+cdots)(1+x^3+x^{3+3}+cdots)cdots (1+x^{2n-1}+x^{(2n-1)+(2n-1)})cdots = (1+x+x^2+cdots)(1+x^3+x^{2cdot3}+cdots)cdots (1+x^{2n-1}+x^{2(2n-1)})cdots=cfrac{1}{1-x}cfrac{1}{1-x^3}cdotscfrac{1}{1-x^{2n-1}}dots=prodlimits_{n=1}^{infty} cfrac{1}{1-x^{2n-1}}$



Moreover, you can express this function as follows,



$prodlimits_{n=1}^{infty} (1+x^n)=(1+x)(1+x^2)(1+x^3)cdots=cfrac{1-x^2}{1-x}cfrac{1-x^4}{1-x^2}cfrac{1-x^6}{1-x^3}cdots=cfrac{1}{1-x}cfrac{1}{1-x^3}cdots=f(x)$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    The explanation of the last expression of the function $f(x)$ needs more details, but I think it' s fine just like this.
    $endgroup$
    – richarddedekind
    Jun 13 '16 at 22:29











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


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1825059%2ffinding-the-generating-function-to-split-n-into-odd-parts%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3












$begingroup$

The generating function for this sequence is



$f(x)=prodlimits_{n=1}^{infty} cfrac{1}{1-x^{2n-1}}$



since



$f(x)=(1+x+x^{1+1}+cdots)(1+x^3+x^{3+3}+cdots)cdots (1+x^{2n-1}+x^{(2n-1)+(2n-1)})cdots = (1+x+x^2+cdots)(1+x^3+x^{2cdot3}+cdots)cdots (1+x^{2n-1}+x^{2(2n-1)})cdots=cfrac{1}{1-x}cfrac{1}{1-x^3}cdotscfrac{1}{1-x^{2n-1}}dots=prodlimits_{n=1}^{infty} cfrac{1}{1-x^{2n-1}}$



Moreover, you can express this function as follows,



$prodlimits_{n=1}^{infty} (1+x^n)=(1+x)(1+x^2)(1+x^3)cdots=cfrac{1-x^2}{1-x}cfrac{1-x^4}{1-x^2}cfrac{1-x^6}{1-x^3}cdots=cfrac{1}{1-x}cfrac{1}{1-x^3}cdots=f(x)$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    The explanation of the last expression of the function $f(x)$ needs more details, but I think it' s fine just like this.
    $endgroup$
    – richarddedekind
    Jun 13 '16 at 22:29
















3












$begingroup$

The generating function for this sequence is



$f(x)=prodlimits_{n=1}^{infty} cfrac{1}{1-x^{2n-1}}$



since



$f(x)=(1+x+x^{1+1}+cdots)(1+x^3+x^{3+3}+cdots)cdots (1+x^{2n-1}+x^{(2n-1)+(2n-1)})cdots = (1+x+x^2+cdots)(1+x^3+x^{2cdot3}+cdots)cdots (1+x^{2n-1}+x^{2(2n-1)})cdots=cfrac{1}{1-x}cfrac{1}{1-x^3}cdotscfrac{1}{1-x^{2n-1}}dots=prodlimits_{n=1}^{infty} cfrac{1}{1-x^{2n-1}}$



Moreover, you can express this function as follows,



$prodlimits_{n=1}^{infty} (1+x^n)=(1+x)(1+x^2)(1+x^3)cdots=cfrac{1-x^2}{1-x}cfrac{1-x^4}{1-x^2}cfrac{1-x^6}{1-x^3}cdots=cfrac{1}{1-x}cfrac{1}{1-x^3}cdots=f(x)$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    The explanation of the last expression of the function $f(x)$ needs more details, but I think it' s fine just like this.
    $endgroup$
    – richarddedekind
    Jun 13 '16 at 22:29














3












3








3





$begingroup$

The generating function for this sequence is



$f(x)=prodlimits_{n=1}^{infty} cfrac{1}{1-x^{2n-1}}$



since



$f(x)=(1+x+x^{1+1}+cdots)(1+x^3+x^{3+3}+cdots)cdots (1+x^{2n-1}+x^{(2n-1)+(2n-1)})cdots = (1+x+x^2+cdots)(1+x^3+x^{2cdot3}+cdots)cdots (1+x^{2n-1}+x^{2(2n-1)})cdots=cfrac{1}{1-x}cfrac{1}{1-x^3}cdotscfrac{1}{1-x^{2n-1}}dots=prodlimits_{n=1}^{infty} cfrac{1}{1-x^{2n-1}}$



Moreover, you can express this function as follows,



$prodlimits_{n=1}^{infty} (1+x^n)=(1+x)(1+x^2)(1+x^3)cdots=cfrac{1-x^2}{1-x}cfrac{1-x^4}{1-x^2}cfrac{1-x^6}{1-x^3}cdots=cfrac{1}{1-x}cfrac{1}{1-x^3}cdots=f(x)$






share|cite|improve this answer











$endgroup$



The generating function for this sequence is



$f(x)=prodlimits_{n=1}^{infty} cfrac{1}{1-x^{2n-1}}$



since



$f(x)=(1+x+x^{1+1}+cdots)(1+x^3+x^{3+3}+cdots)cdots (1+x^{2n-1}+x^{(2n-1)+(2n-1)})cdots = (1+x+x^2+cdots)(1+x^3+x^{2cdot3}+cdots)cdots (1+x^{2n-1}+x^{2(2n-1)})cdots=cfrac{1}{1-x}cfrac{1}{1-x^3}cdotscfrac{1}{1-x^{2n-1}}dots=prodlimits_{n=1}^{infty} cfrac{1}{1-x^{2n-1}}$



Moreover, you can express this function as follows,



$prodlimits_{n=1}^{infty} (1+x^n)=(1+x)(1+x^2)(1+x^3)cdots=cfrac{1-x^2}{1-x}cfrac{1-x^4}{1-x^2}cfrac{1-x^6}{1-x^3}cdots=cfrac{1}{1-x}cfrac{1}{1-x^3}cdots=f(x)$







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Dec 2 '18 at 2:18

























answered Jun 13 '16 at 22:25









richarddedekindricharddedekind

711316




711316












  • $begingroup$
    The explanation of the last expression of the function $f(x)$ needs more details, but I think it' s fine just like this.
    $endgroup$
    – richarddedekind
    Jun 13 '16 at 22:29


















  • $begingroup$
    The explanation of the last expression of the function $f(x)$ needs more details, but I think it' s fine just like this.
    $endgroup$
    – richarddedekind
    Jun 13 '16 at 22:29
















$begingroup$
The explanation of the last expression of the function $f(x)$ needs more details, but I think it' s fine just like this.
$endgroup$
– richarddedekind
Jun 13 '16 at 22:29




$begingroup$
The explanation of the last expression of the function $f(x)$ needs more details, but I think it' s fine just like this.
$endgroup$
– richarddedekind
Jun 13 '16 at 22:29


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1825059%2ffinding-the-generating-function-to-split-n-into-odd-parts%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

Quarter-circle Tiles

build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

Mont Emei