linear recurrence relation for square of sequence given recursively











up vote
6
down vote

favorite
1












If $a_n$ satisfies the linear recurrence relation $a_n = sum_{i=1}^k c_i a_{n-i}$ for some constants $c_i$, then is there an easy way to find a linear recurrence relation for $b_n = a_n^2$ ?



For example, if $a_n = a_{n-1} + a_{n-3}$, then $b_n=a_n^2$ seems to satisfy $b_n=b_{n-1}+b_{n-2}+3b_{n-3}+b_{n-4}-b_{n-5}-b_{n-6}$.










share|cite|improve this question







New contributor




Erich Friedman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    up vote
    6
    down vote

    favorite
    1












    If $a_n$ satisfies the linear recurrence relation $a_n = sum_{i=1}^k c_i a_{n-i}$ for some constants $c_i$, then is there an easy way to find a linear recurrence relation for $b_n = a_n^2$ ?



    For example, if $a_n = a_{n-1} + a_{n-3}$, then $b_n=a_n^2$ seems to satisfy $b_n=b_{n-1}+b_{n-2}+3b_{n-3}+b_{n-4}-b_{n-5}-b_{n-6}$.










    share|cite|improve this question







    New contributor




    Erich Friedman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      6
      down vote

      favorite
      1









      up vote
      6
      down vote

      favorite
      1






      1





      If $a_n$ satisfies the linear recurrence relation $a_n = sum_{i=1}^k c_i a_{n-i}$ for some constants $c_i$, then is there an easy way to find a linear recurrence relation for $b_n = a_n^2$ ?



      For example, if $a_n = a_{n-1} + a_{n-3}$, then $b_n=a_n^2$ seems to satisfy $b_n=b_{n-1}+b_{n-2}+3b_{n-3}+b_{n-4}-b_{n-5}-b_{n-6}$.










      share|cite|improve this question







      New contributor




      Erich Friedman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      If $a_n$ satisfies the linear recurrence relation $a_n = sum_{i=1}^k c_i a_{n-i}$ for some constants $c_i$, then is there an easy way to find a linear recurrence relation for $b_n = a_n^2$ ?



      For example, if $a_n = a_{n-1} + a_{n-3}$, then $b_n=a_n^2$ seems to satisfy $b_n=b_{n-1}+b_{n-2}+3b_{n-3}+b_{n-4}-b_{n-5}-b_{n-6}$.







      co.combinatorics






      share|cite|improve this question







      New contributor




      Erich Friedman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|cite|improve this question







      New contributor




      Erich Friedman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|cite|improve this question




      share|cite|improve this question






      New contributor




      Erich Friedman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Nov 28 at 3:56









      Erich Friedman

      311




      311




      New contributor




      Erich Friedman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Erich Friedman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Erich Friedman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          5
          down vote













          Yes. Take the companion matrix $M$ of the characteristic polynomial of your original recurrence. Then the squared recurrence satisfies a recurrence with the characteristic polynomial of the symmetric square $S^2(M)$ of $M$. If the original recurrence has order $n$ this new recurrence has order ${n+1 choose 2}$, and its coefficients are polynomials (depending only on $n$) in the coefficients of the old recurrence.



          To prove this it suffices to consider the case where the characteristic polynomial has distinct roots, by a density argument. Then $a_n$ is a linear combination of the sequences $lambda_i^n$ where $lambda_i$ are the roots of the characteristic polynomial. So $a_n^2$ is a linear combination of the sequences $(lambda_i lambda_j)^n$ (and we may have $i = j$), and $S^2(M)$ has the $lambda_i lambda_j$ as its eigenvalues. In general these are all also distinct, so the characteristic polynomial of $S^2(M)$ is minimal with this property and it's not possible to reduce the order further than this in general.



          The same argument shows that for $k^{th}$ powers we can use the symmetric powers $S^k(M)$, and that for general products $a_n b_n$ of sequences satisfying linear recurrences we can use tensor / Kronecker products of the companion matrices of their characteristic polynomials.






          share|cite|improve this answer



















          • 1




            Qiaochu has given explicit computations here. I would like to add that the equivalence (linear recurrence <-> rational generating series) is credited to Kronecker by A. Connes in Noncommutative Geometry.
            – Duchamp Gérard H. E.
            Nov 28 at 5:12


















          up vote
          3
          down vote













          T. Brown and P.J. Shiue's paper here might be of interest as a first reference. In the introduction they mention that if $a_n$ is a second-order sequence then the sequence
          of squares $a_{n}^2$ is a third-order sequence. They go on to show necessary conditions for the squares sequence to be a second-order sequence when $a_n$ is a homogeneous sequence.



          In the paper of Cooper and Kennedy here, (section 5) they give an order six linear recurrence relation for the square of a third order linear recurrence relation (as appears in your example):



          $$x^2_n = (a^2 + b)x^2_{n−1} + (a^2b + b^2 + ac)x^2_{n−2} + (a^3c + 4abc − b^3 +2c^2)x^2_{n−3}+(−ab^2c + a^2c^2 − bc^2)x^2_{n−4} + (b^2c^2 − ac^3)x^2_{n−5} − c^4x^2_{n−6}$$
          where $x_n = ax_{n−1} + bx_{n−2} + cx_{n−3}$.
          For similar questions where squares have been replaced with higher powers, the paper here by Stinchcombe might be interesting.



          Edit: Qiaochu Yuan has provided the correct order for squares. Higher powers are addressed using the same argument in Theorem 3 of Stinchcombe's paper above. For convenience it is stated here:



          Question: For what order does $y_{n} =x^l_{n}$ satisfy a linear recurrence relation, for $x_{n}$ a recurrence relation of order $k$?



          A recurrence equation exists and the degree of the corresponding characteristic polynomial for the recurrence is counted by the
          number of elements in $B_{l}$, where
          $$ B_{l} = {(i_{1},...,i_{k}) | text{ each }i_j text{ is a nonnegative integer and } i_1+...+i_{k}=l }.$$
          Given a value of $k$, define $S(k, l) =|B_{l}|$, then



          Theorem 3: $S(k, l)$ obeys the relations: $S(k, l) = k$ for all $k$, $S(1, l) = l$ for all $l$, and $S(k,l) =S(k-1,l) + S(k, l-1)$ for every $k$ and $l$. Equivalently, $S(k, l)=binom{k+l-1}{l}$.






          share|cite|improve this answer



















          • 1




            Note that $S(k,l)$ is just the binomial coefficient $binom{k+l-1}{l}$.
            – Victor Protsak
            2 days ago










          • @VictorProtsak Yes, this was left out in the answer. It will be added.
            – Josiah Park
            2 days ago











          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: "504"
          };
          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
          });


          }
          });






          Erich Friedman is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathoverflow.net%2fquestions%2f316374%2flinear-recurrence-relation-for-square-of-sequence-given-recursively%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








          up vote
          5
          down vote













          Yes. Take the companion matrix $M$ of the characteristic polynomial of your original recurrence. Then the squared recurrence satisfies a recurrence with the characteristic polynomial of the symmetric square $S^2(M)$ of $M$. If the original recurrence has order $n$ this new recurrence has order ${n+1 choose 2}$, and its coefficients are polynomials (depending only on $n$) in the coefficients of the old recurrence.



          To prove this it suffices to consider the case where the characteristic polynomial has distinct roots, by a density argument. Then $a_n$ is a linear combination of the sequences $lambda_i^n$ where $lambda_i$ are the roots of the characteristic polynomial. So $a_n^2$ is a linear combination of the sequences $(lambda_i lambda_j)^n$ (and we may have $i = j$), and $S^2(M)$ has the $lambda_i lambda_j$ as its eigenvalues. In general these are all also distinct, so the characteristic polynomial of $S^2(M)$ is minimal with this property and it's not possible to reduce the order further than this in general.



          The same argument shows that for $k^{th}$ powers we can use the symmetric powers $S^k(M)$, and that for general products $a_n b_n$ of sequences satisfying linear recurrences we can use tensor / Kronecker products of the companion matrices of their characteristic polynomials.






          share|cite|improve this answer



















          • 1




            Qiaochu has given explicit computations here. I would like to add that the equivalence (linear recurrence <-> rational generating series) is credited to Kronecker by A. Connes in Noncommutative Geometry.
            – Duchamp Gérard H. E.
            Nov 28 at 5:12















          up vote
          5
          down vote













          Yes. Take the companion matrix $M$ of the characteristic polynomial of your original recurrence. Then the squared recurrence satisfies a recurrence with the characteristic polynomial of the symmetric square $S^2(M)$ of $M$. If the original recurrence has order $n$ this new recurrence has order ${n+1 choose 2}$, and its coefficients are polynomials (depending only on $n$) in the coefficients of the old recurrence.



          To prove this it suffices to consider the case where the characteristic polynomial has distinct roots, by a density argument. Then $a_n$ is a linear combination of the sequences $lambda_i^n$ where $lambda_i$ are the roots of the characteristic polynomial. So $a_n^2$ is a linear combination of the sequences $(lambda_i lambda_j)^n$ (and we may have $i = j$), and $S^2(M)$ has the $lambda_i lambda_j$ as its eigenvalues. In general these are all also distinct, so the characteristic polynomial of $S^2(M)$ is minimal with this property and it's not possible to reduce the order further than this in general.



          The same argument shows that for $k^{th}$ powers we can use the symmetric powers $S^k(M)$, and that for general products $a_n b_n$ of sequences satisfying linear recurrences we can use tensor / Kronecker products of the companion matrices of their characteristic polynomials.






          share|cite|improve this answer



















          • 1




            Qiaochu has given explicit computations here. I would like to add that the equivalence (linear recurrence <-> rational generating series) is credited to Kronecker by A. Connes in Noncommutative Geometry.
            – Duchamp Gérard H. E.
            Nov 28 at 5:12













          up vote
          5
          down vote










          up vote
          5
          down vote









          Yes. Take the companion matrix $M$ of the characteristic polynomial of your original recurrence. Then the squared recurrence satisfies a recurrence with the characteristic polynomial of the symmetric square $S^2(M)$ of $M$. If the original recurrence has order $n$ this new recurrence has order ${n+1 choose 2}$, and its coefficients are polynomials (depending only on $n$) in the coefficients of the old recurrence.



          To prove this it suffices to consider the case where the characteristic polynomial has distinct roots, by a density argument. Then $a_n$ is a linear combination of the sequences $lambda_i^n$ where $lambda_i$ are the roots of the characteristic polynomial. So $a_n^2$ is a linear combination of the sequences $(lambda_i lambda_j)^n$ (and we may have $i = j$), and $S^2(M)$ has the $lambda_i lambda_j$ as its eigenvalues. In general these are all also distinct, so the characteristic polynomial of $S^2(M)$ is minimal with this property and it's not possible to reduce the order further than this in general.



          The same argument shows that for $k^{th}$ powers we can use the symmetric powers $S^k(M)$, and that for general products $a_n b_n$ of sequences satisfying linear recurrences we can use tensor / Kronecker products of the companion matrices of their characteristic polynomials.






          share|cite|improve this answer














          Yes. Take the companion matrix $M$ of the characteristic polynomial of your original recurrence. Then the squared recurrence satisfies a recurrence with the characteristic polynomial of the symmetric square $S^2(M)$ of $M$. If the original recurrence has order $n$ this new recurrence has order ${n+1 choose 2}$, and its coefficients are polynomials (depending only on $n$) in the coefficients of the old recurrence.



          To prove this it suffices to consider the case where the characteristic polynomial has distinct roots, by a density argument. Then $a_n$ is a linear combination of the sequences $lambda_i^n$ where $lambda_i$ are the roots of the characteristic polynomial. So $a_n^2$ is a linear combination of the sequences $(lambda_i lambda_j)^n$ (and we may have $i = j$), and $S^2(M)$ has the $lambda_i lambda_j$ as its eigenvalues. In general these are all also distinct, so the characteristic polynomial of $S^2(M)$ is minimal with this property and it's not possible to reduce the order further than this in general.



          The same argument shows that for $k^{th}$ powers we can use the symmetric powers $S^k(M)$, and that for general products $a_n b_n$ of sequences satisfying linear recurrences we can use tensor / Kronecker products of the companion matrices of their characteristic polynomials.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited 2 days ago









          Alexey Ustinov

          6,55245778




          6,55245778










          answered Nov 28 at 4:51









          Qiaochu Yuan

          76.3k25315596




          76.3k25315596








          • 1




            Qiaochu has given explicit computations here. I would like to add that the equivalence (linear recurrence <-> rational generating series) is credited to Kronecker by A. Connes in Noncommutative Geometry.
            – Duchamp Gérard H. E.
            Nov 28 at 5:12














          • 1




            Qiaochu has given explicit computations here. I would like to add that the equivalence (linear recurrence <-> rational generating series) is credited to Kronecker by A. Connes in Noncommutative Geometry.
            – Duchamp Gérard H. E.
            Nov 28 at 5:12








          1




          1




          Qiaochu has given explicit computations here. I would like to add that the equivalence (linear recurrence <-> rational generating series) is credited to Kronecker by A. Connes in Noncommutative Geometry.
          – Duchamp Gérard H. E.
          Nov 28 at 5:12




          Qiaochu has given explicit computations here. I would like to add that the equivalence (linear recurrence <-> rational generating series) is credited to Kronecker by A. Connes in Noncommutative Geometry.
          – Duchamp Gérard H. E.
          Nov 28 at 5:12










          up vote
          3
          down vote













          T. Brown and P.J. Shiue's paper here might be of interest as a first reference. In the introduction they mention that if $a_n$ is a second-order sequence then the sequence
          of squares $a_{n}^2$ is a third-order sequence. They go on to show necessary conditions for the squares sequence to be a second-order sequence when $a_n$ is a homogeneous sequence.



          In the paper of Cooper and Kennedy here, (section 5) they give an order six linear recurrence relation for the square of a third order linear recurrence relation (as appears in your example):



          $$x^2_n = (a^2 + b)x^2_{n−1} + (a^2b + b^2 + ac)x^2_{n−2} + (a^3c + 4abc − b^3 +2c^2)x^2_{n−3}+(−ab^2c + a^2c^2 − bc^2)x^2_{n−4} + (b^2c^2 − ac^3)x^2_{n−5} − c^4x^2_{n−6}$$
          where $x_n = ax_{n−1} + bx_{n−2} + cx_{n−3}$.
          For similar questions where squares have been replaced with higher powers, the paper here by Stinchcombe might be interesting.



          Edit: Qiaochu Yuan has provided the correct order for squares. Higher powers are addressed using the same argument in Theorem 3 of Stinchcombe's paper above. For convenience it is stated here:



          Question: For what order does $y_{n} =x^l_{n}$ satisfy a linear recurrence relation, for $x_{n}$ a recurrence relation of order $k$?



          A recurrence equation exists and the degree of the corresponding characteristic polynomial for the recurrence is counted by the
          number of elements in $B_{l}$, where
          $$ B_{l} = {(i_{1},...,i_{k}) | text{ each }i_j text{ is a nonnegative integer and } i_1+...+i_{k}=l }.$$
          Given a value of $k$, define $S(k, l) =|B_{l}|$, then



          Theorem 3: $S(k, l)$ obeys the relations: $S(k, l) = k$ for all $k$, $S(1, l) = l$ for all $l$, and $S(k,l) =S(k-1,l) + S(k, l-1)$ for every $k$ and $l$. Equivalently, $S(k, l)=binom{k+l-1}{l}$.






          share|cite|improve this answer



















          • 1




            Note that $S(k,l)$ is just the binomial coefficient $binom{k+l-1}{l}$.
            – Victor Protsak
            2 days ago










          • @VictorProtsak Yes, this was left out in the answer. It will be added.
            – Josiah Park
            2 days ago















          up vote
          3
          down vote













          T. Brown and P.J. Shiue's paper here might be of interest as a first reference. In the introduction they mention that if $a_n$ is a second-order sequence then the sequence
          of squares $a_{n}^2$ is a third-order sequence. They go on to show necessary conditions for the squares sequence to be a second-order sequence when $a_n$ is a homogeneous sequence.



          In the paper of Cooper and Kennedy here, (section 5) they give an order six linear recurrence relation for the square of a third order linear recurrence relation (as appears in your example):



          $$x^2_n = (a^2 + b)x^2_{n−1} + (a^2b + b^2 + ac)x^2_{n−2} + (a^3c + 4abc − b^3 +2c^2)x^2_{n−3}+(−ab^2c + a^2c^2 − bc^2)x^2_{n−4} + (b^2c^2 − ac^3)x^2_{n−5} − c^4x^2_{n−6}$$
          where $x_n = ax_{n−1} + bx_{n−2} + cx_{n−3}$.
          For similar questions where squares have been replaced with higher powers, the paper here by Stinchcombe might be interesting.



          Edit: Qiaochu Yuan has provided the correct order for squares. Higher powers are addressed using the same argument in Theorem 3 of Stinchcombe's paper above. For convenience it is stated here:



          Question: For what order does $y_{n} =x^l_{n}$ satisfy a linear recurrence relation, for $x_{n}$ a recurrence relation of order $k$?



          A recurrence equation exists and the degree of the corresponding characteristic polynomial for the recurrence is counted by the
          number of elements in $B_{l}$, where
          $$ B_{l} = {(i_{1},...,i_{k}) | text{ each }i_j text{ is a nonnegative integer and } i_1+...+i_{k}=l }.$$
          Given a value of $k$, define $S(k, l) =|B_{l}|$, then



          Theorem 3: $S(k, l)$ obeys the relations: $S(k, l) = k$ for all $k$, $S(1, l) = l$ for all $l$, and $S(k,l) =S(k-1,l) + S(k, l-1)$ for every $k$ and $l$. Equivalently, $S(k, l)=binom{k+l-1}{l}$.






          share|cite|improve this answer



















          • 1




            Note that $S(k,l)$ is just the binomial coefficient $binom{k+l-1}{l}$.
            – Victor Protsak
            2 days ago










          • @VictorProtsak Yes, this was left out in the answer. It will be added.
            – Josiah Park
            2 days ago













          up vote
          3
          down vote










          up vote
          3
          down vote









          T. Brown and P.J. Shiue's paper here might be of interest as a first reference. In the introduction they mention that if $a_n$ is a second-order sequence then the sequence
          of squares $a_{n}^2$ is a third-order sequence. They go on to show necessary conditions for the squares sequence to be a second-order sequence when $a_n$ is a homogeneous sequence.



          In the paper of Cooper and Kennedy here, (section 5) they give an order six linear recurrence relation for the square of a third order linear recurrence relation (as appears in your example):



          $$x^2_n = (a^2 + b)x^2_{n−1} + (a^2b + b^2 + ac)x^2_{n−2} + (a^3c + 4abc − b^3 +2c^2)x^2_{n−3}+(−ab^2c + a^2c^2 − bc^2)x^2_{n−4} + (b^2c^2 − ac^3)x^2_{n−5} − c^4x^2_{n−6}$$
          where $x_n = ax_{n−1} + bx_{n−2} + cx_{n−3}$.
          For similar questions where squares have been replaced with higher powers, the paper here by Stinchcombe might be interesting.



          Edit: Qiaochu Yuan has provided the correct order for squares. Higher powers are addressed using the same argument in Theorem 3 of Stinchcombe's paper above. For convenience it is stated here:



          Question: For what order does $y_{n} =x^l_{n}$ satisfy a linear recurrence relation, for $x_{n}$ a recurrence relation of order $k$?



          A recurrence equation exists and the degree of the corresponding characteristic polynomial for the recurrence is counted by the
          number of elements in $B_{l}$, where
          $$ B_{l} = {(i_{1},...,i_{k}) | text{ each }i_j text{ is a nonnegative integer and } i_1+...+i_{k}=l }.$$
          Given a value of $k$, define $S(k, l) =|B_{l}|$, then



          Theorem 3: $S(k, l)$ obeys the relations: $S(k, l) = k$ for all $k$, $S(1, l) = l$ for all $l$, and $S(k,l) =S(k-1,l) + S(k, l-1)$ for every $k$ and $l$. Equivalently, $S(k, l)=binom{k+l-1}{l}$.






          share|cite|improve this answer














          T. Brown and P.J. Shiue's paper here might be of interest as a first reference. In the introduction they mention that if $a_n$ is a second-order sequence then the sequence
          of squares $a_{n}^2$ is a third-order sequence. They go on to show necessary conditions for the squares sequence to be a second-order sequence when $a_n$ is a homogeneous sequence.



          In the paper of Cooper and Kennedy here, (section 5) they give an order six linear recurrence relation for the square of a third order linear recurrence relation (as appears in your example):



          $$x^2_n = (a^2 + b)x^2_{n−1} + (a^2b + b^2 + ac)x^2_{n−2} + (a^3c + 4abc − b^3 +2c^2)x^2_{n−3}+(−ab^2c + a^2c^2 − bc^2)x^2_{n−4} + (b^2c^2 − ac^3)x^2_{n−5} − c^4x^2_{n−6}$$
          where $x_n = ax_{n−1} + bx_{n−2} + cx_{n−3}$.
          For similar questions where squares have been replaced with higher powers, the paper here by Stinchcombe might be interesting.



          Edit: Qiaochu Yuan has provided the correct order for squares. Higher powers are addressed using the same argument in Theorem 3 of Stinchcombe's paper above. For convenience it is stated here:



          Question: For what order does $y_{n} =x^l_{n}$ satisfy a linear recurrence relation, for $x_{n}$ a recurrence relation of order $k$?



          A recurrence equation exists and the degree of the corresponding characteristic polynomial for the recurrence is counted by the
          number of elements in $B_{l}$, where
          $$ B_{l} = {(i_{1},...,i_{k}) | text{ each }i_j text{ is a nonnegative integer and } i_1+...+i_{k}=l }.$$
          Given a value of $k$, define $S(k, l) =|B_{l}|$, then



          Theorem 3: $S(k, l)$ obeys the relations: $S(k, l) = k$ for all $k$, $S(1, l) = l$ for all $l$, and $S(k,l) =S(k-1,l) + S(k, l-1)$ for every $k$ and $l$. Equivalently, $S(k, l)=binom{k+l-1}{l}$.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited 2 days ago

























          answered Nov 28 at 4:06









          Josiah Park

          62714




          62714








          • 1




            Note that $S(k,l)$ is just the binomial coefficient $binom{k+l-1}{l}$.
            – Victor Protsak
            2 days ago










          • @VictorProtsak Yes, this was left out in the answer. It will be added.
            – Josiah Park
            2 days ago














          • 1




            Note that $S(k,l)$ is just the binomial coefficient $binom{k+l-1}{l}$.
            – Victor Protsak
            2 days ago










          • @VictorProtsak Yes, this was left out in the answer. It will be added.
            – Josiah Park
            2 days ago








          1




          1




          Note that $S(k,l)$ is just the binomial coefficient $binom{k+l-1}{l}$.
          – Victor Protsak
          2 days ago




          Note that $S(k,l)$ is just the binomial coefficient $binom{k+l-1}{l}$.
          – Victor Protsak
          2 days ago












          @VictorProtsak Yes, this was left out in the answer. It will be added.
          – Josiah Park
          2 days ago




          @VictorProtsak Yes, this was left out in the answer. It will be added.
          – Josiah Park
          2 days ago










          Erich Friedman is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Erich Friedman is a new contributor. Be nice, and check out our Code of Conduct.













          Erich Friedman is a new contributor. Be nice, and check out our Code of Conduct.












          Erich Friedman is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to MathOverflow!


          • 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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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.


          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%2fmathoverflow.net%2fquestions%2f316374%2flinear-recurrence-relation-for-square-of-sequence-given-recursively%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

          If I really need a card on my start hand, how many mulligans make sense? [duplicate]

          Alcedinidae

          Can an atomic nucleus contain both particles and antiparticles? [duplicate]