Closed form of recurrent arithmetic series summation Announcing the arrival of Valued...

When coming out of haste, do attackers have advantage on you?

2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?

Would "destroying" Wurmcoil Engine prevent its tokens from being created?

Is safe to use va_start macro with this as parameter?

What are the out-of-universe reasons for the references to Toby Maguire-era Spider-Man in ITSV

How to compare two different files line by line in unix?

Compare a given version number in the form major.minor.build.patch and see if one is less than the other

Where are Serre’s lectures at Collège de France to be found?

Do I really need to have a message in a novel to appeal to readers?

How can I use the Python library networkx from Mathematica?

How to show element name in portuguese using elements package?

Why wasn't DOSKEY integrated with command.com?

Why aren't air breathing engines used as small first stages

What is the meaning of the simile “quick as silk”?

What is the escape velocity of a neutron particle (not neutron star)

Closed form of recurrent arithmetic series summation

Delete nth line from bottom

Why are the trig functions versine, haversine, exsecant, etc, rarely used in modern mathematics?

bold in theorem

Is there any way for the UK Prime Minister to make a motion directly dependent on Government confidence?

How do I find out the mythology and history of my Fortress?

How to Make a Beautiful Stacked 3D Plot

Can you shove before Attacking with Shield Master using a Readied action?

What is the longest distance a player character can jump in one leap?



Closed form of recurrent arithmetic series summation



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Summation closed form.How can I find a closed form for the summation (i^2)(-1^i+1) systematically?Closed Form Summation ExampleClosed form expression of a summationClosed Form Expressions: Summation and Product OperatorsFinding a closed form for binomial coefficient summationFinding closed form for double summation binomialI know my series converges; how do I get a closed-form expression for it?How to find closed form of summationFloor Summation Closed Form?












4












$begingroup$


Knowing that $$sum_{i=1}^n i = frac{n(n+1)}{2}$$
how can I get closed form formula for
$$sum_{i=1}^n sum_{j=1}^i j$$
or
$$sum_{i=1}^n sum_{j=1}^i sum_{k=1}^j k$$
or any x times neasted summation like above










share|cite|improve this question







New contributor




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







$endgroup$












  • $begingroup$
    You won't be able to solve this just by using the initial equation.
    $endgroup$
    – Peter Foreman
    3 hours ago










  • $begingroup$
    Go step by step: $sum_{i=1}^n sum_{j=1}^i j=sum_{i=1}^n frac{i(i+1)}{2}=frac12cdot color{red}{sum_{i=1}^n i^2}+frac12 cdot sum_{i=1}^n i$. The red colored part cannot be solved with the first formula.
    $endgroup$
    – callculus
    3 hours ago












  • $begingroup$
    Use the formulae for the sum of $k^2$ and $k^3$
    $endgroup$
    – George Dewhirst
    3 hours ago






  • 1




    $begingroup$
    Hint: $n={n choose 1}$, $n(n+1)/2={n+1choose 2}$. Now have a look at the hockey-stick identity.
    $endgroup$
    – Jean-Claude Arbaut
    3 hours ago












  • $begingroup$
    @Jean-ClaudeArbaut Do you mind if I write an answer using this now?
    $endgroup$
    – Peter Foreman
    3 hours ago
















4












$begingroup$


Knowing that $$sum_{i=1}^n i = frac{n(n+1)}{2}$$
how can I get closed form formula for
$$sum_{i=1}^n sum_{j=1}^i j$$
or
$$sum_{i=1}^n sum_{j=1}^i sum_{k=1}^j k$$
or any x times neasted summation like above










share|cite|improve this question







New contributor




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







$endgroup$












  • $begingroup$
    You won't be able to solve this just by using the initial equation.
    $endgroup$
    – Peter Foreman
    3 hours ago










  • $begingroup$
    Go step by step: $sum_{i=1}^n sum_{j=1}^i j=sum_{i=1}^n frac{i(i+1)}{2}=frac12cdot color{red}{sum_{i=1}^n i^2}+frac12 cdot sum_{i=1}^n i$. The red colored part cannot be solved with the first formula.
    $endgroup$
    – callculus
    3 hours ago












  • $begingroup$
    Use the formulae for the sum of $k^2$ and $k^3$
    $endgroup$
    – George Dewhirst
    3 hours ago






  • 1




    $begingroup$
    Hint: $n={n choose 1}$, $n(n+1)/2={n+1choose 2}$. Now have a look at the hockey-stick identity.
    $endgroup$
    – Jean-Claude Arbaut
    3 hours ago












  • $begingroup$
    @Jean-ClaudeArbaut Do you mind if I write an answer using this now?
    $endgroup$
    – Peter Foreman
    3 hours ago














4












4








4


1



$begingroup$


Knowing that $$sum_{i=1}^n i = frac{n(n+1)}{2}$$
how can I get closed form formula for
$$sum_{i=1}^n sum_{j=1}^i j$$
or
$$sum_{i=1}^n sum_{j=1}^i sum_{k=1}^j k$$
or any x times neasted summation like above










share|cite|improve this question







New contributor




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







$endgroup$




Knowing that $$sum_{i=1}^n i = frac{n(n+1)}{2}$$
how can I get closed form formula for
$$sum_{i=1}^n sum_{j=1}^i j$$
or
$$sum_{i=1}^n sum_{j=1}^i sum_{k=1}^j k$$
or any x times neasted summation like above







summation recurrence-relations closed-form recursion






share|cite|improve this question







New contributor




mcpiroman 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




mcpiroman 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




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









asked 4 hours ago









mcpiromanmcpiroman

233




233




New contributor




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





New contributor





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






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












  • $begingroup$
    You won't be able to solve this just by using the initial equation.
    $endgroup$
    – Peter Foreman
    3 hours ago










  • $begingroup$
    Go step by step: $sum_{i=1}^n sum_{j=1}^i j=sum_{i=1}^n frac{i(i+1)}{2}=frac12cdot color{red}{sum_{i=1}^n i^2}+frac12 cdot sum_{i=1}^n i$. The red colored part cannot be solved with the first formula.
    $endgroup$
    – callculus
    3 hours ago












  • $begingroup$
    Use the formulae for the sum of $k^2$ and $k^3$
    $endgroup$
    – George Dewhirst
    3 hours ago






  • 1




    $begingroup$
    Hint: $n={n choose 1}$, $n(n+1)/2={n+1choose 2}$. Now have a look at the hockey-stick identity.
    $endgroup$
    – Jean-Claude Arbaut
    3 hours ago












  • $begingroup$
    @Jean-ClaudeArbaut Do you mind if I write an answer using this now?
    $endgroup$
    – Peter Foreman
    3 hours ago


















  • $begingroup$
    You won't be able to solve this just by using the initial equation.
    $endgroup$
    – Peter Foreman
    3 hours ago










  • $begingroup$
    Go step by step: $sum_{i=1}^n sum_{j=1}^i j=sum_{i=1}^n frac{i(i+1)}{2}=frac12cdot color{red}{sum_{i=1}^n i^2}+frac12 cdot sum_{i=1}^n i$. The red colored part cannot be solved with the first formula.
    $endgroup$
    – callculus
    3 hours ago












  • $begingroup$
    Use the formulae for the sum of $k^2$ and $k^3$
    $endgroup$
    – George Dewhirst
    3 hours ago






  • 1




    $begingroup$
    Hint: $n={n choose 1}$, $n(n+1)/2={n+1choose 2}$. Now have a look at the hockey-stick identity.
    $endgroup$
    – Jean-Claude Arbaut
    3 hours ago












  • $begingroup$
    @Jean-ClaudeArbaut Do you mind if I write an answer using this now?
    $endgroup$
    – Peter Foreman
    3 hours ago
















$begingroup$
You won't be able to solve this just by using the initial equation.
$endgroup$
– Peter Foreman
3 hours ago




$begingroup$
You won't be able to solve this just by using the initial equation.
$endgroup$
– Peter Foreman
3 hours ago












$begingroup$
Go step by step: $sum_{i=1}^n sum_{j=1}^i j=sum_{i=1}^n frac{i(i+1)}{2}=frac12cdot color{red}{sum_{i=1}^n i^2}+frac12 cdot sum_{i=1}^n i$. The red colored part cannot be solved with the first formula.
$endgroup$
– callculus
3 hours ago






$begingroup$
Go step by step: $sum_{i=1}^n sum_{j=1}^i j=sum_{i=1}^n frac{i(i+1)}{2}=frac12cdot color{red}{sum_{i=1}^n i^2}+frac12 cdot sum_{i=1}^n i$. The red colored part cannot be solved with the first formula.
$endgroup$
– callculus
3 hours ago














$begingroup$
Use the formulae for the sum of $k^2$ and $k^3$
$endgroup$
– George Dewhirst
3 hours ago




$begingroup$
Use the formulae for the sum of $k^2$ and $k^3$
$endgroup$
– George Dewhirst
3 hours ago




1




1




$begingroup$
Hint: $n={n choose 1}$, $n(n+1)/2={n+1choose 2}$. Now have a look at the hockey-stick identity.
$endgroup$
– Jean-Claude Arbaut
3 hours ago






$begingroup$
Hint: $n={n choose 1}$, $n(n+1)/2={n+1choose 2}$. Now have a look at the hockey-stick identity.
$endgroup$
– Jean-Claude Arbaut
3 hours ago














$begingroup$
@Jean-ClaudeArbaut Do you mind if I write an answer using this now?
$endgroup$
– Peter Foreman
3 hours ago




$begingroup$
@Jean-ClaudeArbaut Do you mind if I write an answer using this now?
$endgroup$
– Peter Foreman
3 hours ago










4 Answers
4






active

oldest

votes


















4












$begingroup$

Let $f_k(n)$ be the closed form of the summation nested $k$ times. We know that
$$f_1(n)=frac12n(n+1)=binom{n+1}{2}$$
$$f_k(n)=sum_{j=1}^n f_{k-1}(j)$$
So for the next function $f_2(n)$ we have
$$f_2(n)=sum_{j=1}^nbinom{j+1}{2}=sum_{j=2}^{n+1}binom{j}{2}=binom{n+2}{3}$$
By using the Hockey-stick identity (credits to Jean-Claude Arbaut).
Similarly for the next function $f_3(n)$ we have
$$f_3(n)=sum_{j=1}^nbinom{j+2}{3}=sum_{j=3}^{n+2}binom{j}{3}=binom{n+3}{4}$$
So one could conjecture that
$$f_k(n)=binom{n+k}{k+1}$$
which can be easily proven by induction as follows
$$f_k(n)=sum_{j=1}^nbinom{j+k-1}{k}=sum_{j=k}^{n+k-1}binom{j}{k}=binom{n+k}{k+1}$$
Hence we have that
$$boxed{f_k(n)=binom{n+k}{k+1}=frac1{(k+1)!}n(n+1)(n+2)dots(n+k-1)(n+k)}$$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    $sum_{j=1}^nleft(frac16n^3+frac12n^2+frac13nright)$: The summands do not depend on the index $j$.
    $endgroup$
    – callculus
    3 hours ago










  • $begingroup$
    @callculus Yes, sorry I've corrected it.
    $endgroup$
    – Peter Foreman
    3 hours ago



















2












$begingroup$


We can write the last multiple sum as
begin{align*}
color{blue}{sum_{i_1=1}^nsum_{i_2=1}^{i_1}sum_{i_3=1}^{i_2}i_3}
&=sum_{i_1=1}^nsum_{i_2=1}^{i_1}sum_{i_3=1}^{i_2}sum_{i_4=1}^{i_3} 1\
&=sum_{1leq i_4leq i_3leq i_2leq i_1leq n}1tag{1}\
&,,color{blue}{=binom{n+3}{4}}tag{2}
end{align*}

In (1) we observe the index range is the number of ordered $4$-tuples with repetition from a set with $n$ elements resulting in (2).







share|cite|improve this answer









$endgroup$





















    1












    $begingroup$

    Here's a combinatorial way of thinking about it: first of all, note that we can go one level deeper and represent the innermost piece ($j$, or $k$, etc.) in your formulae as $sum_{h=1}^j1$; this means that the formula start to look like $displaystylesum_{m=1}^n1 =n$, $displaystylesum_{m=1}^nsum_{l=1}^m1=n(n+1)/2={n+1choose 2}$, $displaystylesum_{m=1}^nsum_{l=1}^msum_{k=1}^l1={n+2choose 3}$, etc. Now, let's look at what the left hand side is counting. In the first case, we're just counting the number of ways to choose an $m$ between $1$ and $n$ (inclusive); this is, self-evidently, just $n$. In the second, we're choosing a number $m$ between $1$ and $n$ inclusive, again, but then choosing an $l$ between $1$ and $m$; this is exactly the number of ways of choosing two numbers between $1$ and $n$, where we don't care about the order — that is, choosing $2$ and $5$ is exactly the same as choosing $5$ and $2$. Similarly, $displaystylesum_{m=1}^nsum_{l=1}^msum_{k=1}^l1$ counts the number of ways of choosing three numbers between $1$ and $n$, without regard to order; this is because we can sort the numbers we've chosen (since we don't care about order), and then note that the largest can be anywhere between $1$ and $n$, but then the next largest can only be between $1$ and the largest, etc.



    Now, the difference between this and regular combinations is that in a regular combination every chosen number must be distinct; but if we have an ordered list $langle k, l, mrangle$ of the (not necessarily distinct) numbers we've chosen between $1$ and $n$ then we can turn this into an ordered list of not necessarily distinct numbers between $1$ and $n+2$: let $k'=k$, $l'=l+1$, $m'=m+2$. You should be able to convince yourself that this is a one-to-one correspondence between not-necessarily-distinct choices in ${1ldots n}$ and distinct choices in ${1ldots n+2}$, and the same principle extends to any number of choices. (This wikipedia link has more details).






    share|cite|improve this answer









    $endgroup$





















      0












      $begingroup$

      $$S_{n_2}=sum_{i=1}^nsum_{j=1}^ij=sum_{i=1}^nfrac{i(i+1)}{2}=frac12sum_{i=1}^ni^2+i=frac12left[frac{n(n+1)(2n+1)}{6}+frac{n(n+1)}{2}right]=frac{n(n+1)(n+2)}{6}$$
      and now:
      $$S_{n_3}=sum_{i=1}^nsum_{j=1}^isum_{k=1}^jk=frac16sum_{i=1}^ni(i+1)(i+2)=frac16sum_{i=1}^ni^3+3i^2+2i=frac16left[frac{n^2(n+1)^2}{4}+frac{n(n+1)(2n+1)}{2}+n(n+1)right]=frac{n(n+1)}{6}left[frac{n(n+1)}{4}+frac{(2n+1)}{2}+1right]=frac{n(n+1)(n+2)(n+3)}{24}$$
      and we can see a pattern here. For a series $S_{n_a}$ with $a$ nested summations the following is true:
      $$S_{n_a}=frac{1}{(a+1)!}prod_{b=0}^a(n+b)=frac{(n+a)!}{(n-1)!(a+1)!}$$






      share|cite|improve this answer









      $endgroup$













      • $begingroup$
        What is wrong with this answer?
        $endgroup$
        – Henry Lee
        2 hours ago










      • $begingroup$
        I don´t know. Hopefully the downvoter leaves a comment.
        $endgroup$
        – callculus
        2 hours ago






      • 1




        $begingroup$
        Appart from the notation $S_{n_a}$, looks good. Note also that the last expression is ${n+achoose a+1}$.
        $endgroup$
        – Jean-Claude Arbaut
        2 hours ago












      Your Answer








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


      }
      });






      mcpiroman 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%2fmath.stackexchange.com%2fquestions%2f3191318%2fclosed-form-of-recurrent-arithmetic-series-summation%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      4












      $begingroup$

      Let $f_k(n)$ be the closed form of the summation nested $k$ times. We know that
      $$f_1(n)=frac12n(n+1)=binom{n+1}{2}$$
      $$f_k(n)=sum_{j=1}^n f_{k-1}(j)$$
      So for the next function $f_2(n)$ we have
      $$f_2(n)=sum_{j=1}^nbinom{j+1}{2}=sum_{j=2}^{n+1}binom{j}{2}=binom{n+2}{3}$$
      By using the Hockey-stick identity (credits to Jean-Claude Arbaut).
      Similarly for the next function $f_3(n)$ we have
      $$f_3(n)=sum_{j=1}^nbinom{j+2}{3}=sum_{j=3}^{n+2}binom{j}{3}=binom{n+3}{4}$$
      So one could conjecture that
      $$f_k(n)=binom{n+k}{k+1}$$
      which can be easily proven by induction as follows
      $$f_k(n)=sum_{j=1}^nbinom{j+k-1}{k}=sum_{j=k}^{n+k-1}binom{j}{k}=binom{n+k}{k+1}$$
      Hence we have that
      $$boxed{f_k(n)=binom{n+k}{k+1}=frac1{(k+1)!}n(n+1)(n+2)dots(n+k-1)(n+k)}$$






      share|cite|improve this answer











      $endgroup$













      • $begingroup$
        $sum_{j=1}^nleft(frac16n^3+frac12n^2+frac13nright)$: The summands do not depend on the index $j$.
        $endgroup$
        – callculus
        3 hours ago










      • $begingroup$
        @callculus Yes, sorry I've corrected it.
        $endgroup$
        – Peter Foreman
        3 hours ago
















      4












      $begingroup$

      Let $f_k(n)$ be the closed form of the summation nested $k$ times. We know that
      $$f_1(n)=frac12n(n+1)=binom{n+1}{2}$$
      $$f_k(n)=sum_{j=1}^n f_{k-1}(j)$$
      So for the next function $f_2(n)$ we have
      $$f_2(n)=sum_{j=1}^nbinom{j+1}{2}=sum_{j=2}^{n+1}binom{j}{2}=binom{n+2}{3}$$
      By using the Hockey-stick identity (credits to Jean-Claude Arbaut).
      Similarly for the next function $f_3(n)$ we have
      $$f_3(n)=sum_{j=1}^nbinom{j+2}{3}=sum_{j=3}^{n+2}binom{j}{3}=binom{n+3}{4}$$
      So one could conjecture that
      $$f_k(n)=binom{n+k}{k+1}$$
      which can be easily proven by induction as follows
      $$f_k(n)=sum_{j=1}^nbinom{j+k-1}{k}=sum_{j=k}^{n+k-1}binom{j}{k}=binom{n+k}{k+1}$$
      Hence we have that
      $$boxed{f_k(n)=binom{n+k}{k+1}=frac1{(k+1)!}n(n+1)(n+2)dots(n+k-1)(n+k)}$$






      share|cite|improve this answer











      $endgroup$













      • $begingroup$
        $sum_{j=1}^nleft(frac16n^3+frac12n^2+frac13nright)$: The summands do not depend on the index $j$.
        $endgroup$
        – callculus
        3 hours ago










      • $begingroup$
        @callculus Yes, sorry I've corrected it.
        $endgroup$
        – Peter Foreman
        3 hours ago














      4












      4








      4





      $begingroup$

      Let $f_k(n)$ be the closed form of the summation nested $k$ times. We know that
      $$f_1(n)=frac12n(n+1)=binom{n+1}{2}$$
      $$f_k(n)=sum_{j=1}^n f_{k-1}(j)$$
      So for the next function $f_2(n)$ we have
      $$f_2(n)=sum_{j=1}^nbinom{j+1}{2}=sum_{j=2}^{n+1}binom{j}{2}=binom{n+2}{3}$$
      By using the Hockey-stick identity (credits to Jean-Claude Arbaut).
      Similarly for the next function $f_3(n)$ we have
      $$f_3(n)=sum_{j=1}^nbinom{j+2}{3}=sum_{j=3}^{n+2}binom{j}{3}=binom{n+3}{4}$$
      So one could conjecture that
      $$f_k(n)=binom{n+k}{k+1}$$
      which can be easily proven by induction as follows
      $$f_k(n)=sum_{j=1}^nbinom{j+k-1}{k}=sum_{j=k}^{n+k-1}binom{j}{k}=binom{n+k}{k+1}$$
      Hence we have that
      $$boxed{f_k(n)=binom{n+k}{k+1}=frac1{(k+1)!}n(n+1)(n+2)dots(n+k-1)(n+k)}$$






      share|cite|improve this answer











      $endgroup$



      Let $f_k(n)$ be the closed form of the summation nested $k$ times. We know that
      $$f_1(n)=frac12n(n+1)=binom{n+1}{2}$$
      $$f_k(n)=sum_{j=1}^n f_{k-1}(j)$$
      So for the next function $f_2(n)$ we have
      $$f_2(n)=sum_{j=1}^nbinom{j+1}{2}=sum_{j=2}^{n+1}binom{j}{2}=binom{n+2}{3}$$
      By using the Hockey-stick identity (credits to Jean-Claude Arbaut).
      Similarly for the next function $f_3(n)$ we have
      $$f_3(n)=sum_{j=1}^nbinom{j+2}{3}=sum_{j=3}^{n+2}binom{j}{3}=binom{n+3}{4}$$
      So one could conjecture that
      $$f_k(n)=binom{n+k}{k+1}$$
      which can be easily proven by induction as follows
      $$f_k(n)=sum_{j=1}^nbinom{j+k-1}{k}=sum_{j=k}^{n+k-1}binom{j}{k}=binom{n+k}{k+1}$$
      Hence we have that
      $$boxed{f_k(n)=binom{n+k}{k+1}=frac1{(k+1)!}n(n+1)(n+2)dots(n+k-1)(n+k)}$$







      share|cite|improve this answer














      share|cite|improve this answer



      share|cite|improve this answer








      edited 3 hours ago

























      answered 3 hours ago









      Peter ForemanPeter Foreman

      8,1521320




      8,1521320












      • $begingroup$
        $sum_{j=1}^nleft(frac16n^3+frac12n^2+frac13nright)$: The summands do not depend on the index $j$.
        $endgroup$
        – callculus
        3 hours ago










      • $begingroup$
        @callculus Yes, sorry I've corrected it.
        $endgroup$
        – Peter Foreman
        3 hours ago


















      • $begingroup$
        $sum_{j=1}^nleft(frac16n^3+frac12n^2+frac13nright)$: The summands do not depend on the index $j$.
        $endgroup$
        – callculus
        3 hours ago










      • $begingroup$
        @callculus Yes, sorry I've corrected it.
        $endgroup$
        – Peter Foreman
        3 hours ago
















      $begingroup$
      $sum_{j=1}^nleft(frac16n^3+frac12n^2+frac13nright)$: The summands do not depend on the index $j$.
      $endgroup$
      – callculus
      3 hours ago




      $begingroup$
      $sum_{j=1}^nleft(frac16n^3+frac12n^2+frac13nright)$: The summands do not depend on the index $j$.
      $endgroup$
      – callculus
      3 hours ago












      $begingroup$
      @callculus Yes, sorry I've corrected it.
      $endgroup$
      – Peter Foreman
      3 hours ago




      $begingroup$
      @callculus Yes, sorry I've corrected it.
      $endgroup$
      – Peter Foreman
      3 hours ago











      2












      $begingroup$


      We can write the last multiple sum as
      begin{align*}
      color{blue}{sum_{i_1=1}^nsum_{i_2=1}^{i_1}sum_{i_3=1}^{i_2}i_3}
      &=sum_{i_1=1}^nsum_{i_2=1}^{i_1}sum_{i_3=1}^{i_2}sum_{i_4=1}^{i_3} 1\
      &=sum_{1leq i_4leq i_3leq i_2leq i_1leq n}1tag{1}\
      &,,color{blue}{=binom{n+3}{4}}tag{2}
      end{align*}

      In (1) we observe the index range is the number of ordered $4$-tuples with repetition from a set with $n$ elements resulting in (2).







      share|cite|improve this answer









      $endgroup$


















        2












        $begingroup$


        We can write the last multiple sum as
        begin{align*}
        color{blue}{sum_{i_1=1}^nsum_{i_2=1}^{i_1}sum_{i_3=1}^{i_2}i_3}
        &=sum_{i_1=1}^nsum_{i_2=1}^{i_1}sum_{i_3=1}^{i_2}sum_{i_4=1}^{i_3} 1\
        &=sum_{1leq i_4leq i_3leq i_2leq i_1leq n}1tag{1}\
        &,,color{blue}{=binom{n+3}{4}}tag{2}
        end{align*}

        In (1) we observe the index range is the number of ordered $4$-tuples with repetition from a set with $n$ elements resulting in (2).







        share|cite|improve this answer









        $endgroup$
















          2












          2








          2





          $begingroup$


          We can write the last multiple sum as
          begin{align*}
          color{blue}{sum_{i_1=1}^nsum_{i_2=1}^{i_1}sum_{i_3=1}^{i_2}i_3}
          &=sum_{i_1=1}^nsum_{i_2=1}^{i_1}sum_{i_3=1}^{i_2}sum_{i_4=1}^{i_3} 1\
          &=sum_{1leq i_4leq i_3leq i_2leq i_1leq n}1tag{1}\
          &,,color{blue}{=binom{n+3}{4}}tag{2}
          end{align*}

          In (1) we observe the index range is the number of ordered $4$-tuples with repetition from a set with $n$ elements resulting in (2).







          share|cite|improve this answer









          $endgroup$




          We can write the last multiple sum as
          begin{align*}
          color{blue}{sum_{i_1=1}^nsum_{i_2=1}^{i_1}sum_{i_3=1}^{i_2}i_3}
          &=sum_{i_1=1}^nsum_{i_2=1}^{i_1}sum_{i_3=1}^{i_2}sum_{i_4=1}^{i_3} 1\
          &=sum_{1leq i_4leq i_3leq i_2leq i_1leq n}1tag{1}\
          &,,color{blue}{=binom{n+3}{4}}tag{2}
          end{align*}

          In (1) we observe the index range is the number of ordered $4$-tuples with repetition from a set with $n$ elements resulting in (2).








          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered 2 hours ago









          Markus ScheuerMarkus Scheuer

          64.6k460152




          64.6k460152























              1












              $begingroup$

              Here's a combinatorial way of thinking about it: first of all, note that we can go one level deeper and represent the innermost piece ($j$, or $k$, etc.) in your formulae as $sum_{h=1}^j1$; this means that the formula start to look like $displaystylesum_{m=1}^n1 =n$, $displaystylesum_{m=1}^nsum_{l=1}^m1=n(n+1)/2={n+1choose 2}$, $displaystylesum_{m=1}^nsum_{l=1}^msum_{k=1}^l1={n+2choose 3}$, etc. Now, let's look at what the left hand side is counting. In the first case, we're just counting the number of ways to choose an $m$ between $1$ and $n$ (inclusive); this is, self-evidently, just $n$. In the second, we're choosing a number $m$ between $1$ and $n$ inclusive, again, but then choosing an $l$ between $1$ and $m$; this is exactly the number of ways of choosing two numbers between $1$ and $n$, where we don't care about the order — that is, choosing $2$ and $5$ is exactly the same as choosing $5$ and $2$. Similarly, $displaystylesum_{m=1}^nsum_{l=1}^msum_{k=1}^l1$ counts the number of ways of choosing three numbers between $1$ and $n$, without regard to order; this is because we can sort the numbers we've chosen (since we don't care about order), and then note that the largest can be anywhere between $1$ and $n$, but then the next largest can only be between $1$ and the largest, etc.



              Now, the difference between this and regular combinations is that in a regular combination every chosen number must be distinct; but if we have an ordered list $langle k, l, mrangle$ of the (not necessarily distinct) numbers we've chosen between $1$ and $n$ then we can turn this into an ordered list of not necessarily distinct numbers between $1$ and $n+2$: let $k'=k$, $l'=l+1$, $m'=m+2$. You should be able to convince yourself that this is a one-to-one correspondence between not-necessarily-distinct choices in ${1ldots n}$ and distinct choices in ${1ldots n+2}$, and the same principle extends to any number of choices. (This wikipedia link has more details).






              share|cite|improve this answer









              $endgroup$


















                1












                $begingroup$

                Here's a combinatorial way of thinking about it: first of all, note that we can go one level deeper and represent the innermost piece ($j$, or $k$, etc.) in your formulae as $sum_{h=1}^j1$; this means that the formula start to look like $displaystylesum_{m=1}^n1 =n$, $displaystylesum_{m=1}^nsum_{l=1}^m1=n(n+1)/2={n+1choose 2}$, $displaystylesum_{m=1}^nsum_{l=1}^msum_{k=1}^l1={n+2choose 3}$, etc. Now, let's look at what the left hand side is counting. In the first case, we're just counting the number of ways to choose an $m$ between $1$ and $n$ (inclusive); this is, self-evidently, just $n$. In the second, we're choosing a number $m$ between $1$ and $n$ inclusive, again, but then choosing an $l$ between $1$ and $m$; this is exactly the number of ways of choosing two numbers between $1$ and $n$, where we don't care about the order — that is, choosing $2$ and $5$ is exactly the same as choosing $5$ and $2$. Similarly, $displaystylesum_{m=1}^nsum_{l=1}^msum_{k=1}^l1$ counts the number of ways of choosing three numbers between $1$ and $n$, without regard to order; this is because we can sort the numbers we've chosen (since we don't care about order), and then note that the largest can be anywhere between $1$ and $n$, but then the next largest can only be between $1$ and the largest, etc.



                Now, the difference between this and regular combinations is that in a regular combination every chosen number must be distinct; but if we have an ordered list $langle k, l, mrangle$ of the (not necessarily distinct) numbers we've chosen between $1$ and $n$ then we can turn this into an ordered list of not necessarily distinct numbers between $1$ and $n+2$: let $k'=k$, $l'=l+1$, $m'=m+2$. You should be able to convince yourself that this is a one-to-one correspondence between not-necessarily-distinct choices in ${1ldots n}$ and distinct choices in ${1ldots n+2}$, and the same principle extends to any number of choices. (This wikipedia link has more details).






                share|cite|improve this answer









                $endgroup$
















                  1












                  1








                  1





                  $begingroup$

                  Here's a combinatorial way of thinking about it: first of all, note that we can go one level deeper and represent the innermost piece ($j$, or $k$, etc.) in your formulae as $sum_{h=1}^j1$; this means that the formula start to look like $displaystylesum_{m=1}^n1 =n$, $displaystylesum_{m=1}^nsum_{l=1}^m1=n(n+1)/2={n+1choose 2}$, $displaystylesum_{m=1}^nsum_{l=1}^msum_{k=1}^l1={n+2choose 3}$, etc. Now, let's look at what the left hand side is counting. In the first case, we're just counting the number of ways to choose an $m$ between $1$ and $n$ (inclusive); this is, self-evidently, just $n$. In the second, we're choosing a number $m$ between $1$ and $n$ inclusive, again, but then choosing an $l$ between $1$ and $m$; this is exactly the number of ways of choosing two numbers between $1$ and $n$, where we don't care about the order — that is, choosing $2$ and $5$ is exactly the same as choosing $5$ and $2$. Similarly, $displaystylesum_{m=1}^nsum_{l=1}^msum_{k=1}^l1$ counts the number of ways of choosing three numbers between $1$ and $n$, without regard to order; this is because we can sort the numbers we've chosen (since we don't care about order), and then note that the largest can be anywhere between $1$ and $n$, but then the next largest can only be between $1$ and the largest, etc.



                  Now, the difference between this and regular combinations is that in a regular combination every chosen number must be distinct; but if we have an ordered list $langle k, l, mrangle$ of the (not necessarily distinct) numbers we've chosen between $1$ and $n$ then we can turn this into an ordered list of not necessarily distinct numbers between $1$ and $n+2$: let $k'=k$, $l'=l+1$, $m'=m+2$. You should be able to convince yourself that this is a one-to-one correspondence between not-necessarily-distinct choices in ${1ldots n}$ and distinct choices in ${1ldots n+2}$, and the same principle extends to any number of choices. (This wikipedia link has more details).






                  share|cite|improve this answer









                  $endgroup$



                  Here's a combinatorial way of thinking about it: first of all, note that we can go one level deeper and represent the innermost piece ($j$, or $k$, etc.) in your formulae as $sum_{h=1}^j1$; this means that the formula start to look like $displaystylesum_{m=1}^n1 =n$, $displaystylesum_{m=1}^nsum_{l=1}^m1=n(n+1)/2={n+1choose 2}$, $displaystylesum_{m=1}^nsum_{l=1}^msum_{k=1}^l1={n+2choose 3}$, etc. Now, let's look at what the left hand side is counting. In the first case, we're just counting the number of ways to choose an $m$ between $1$ and $n$ (inclusive); this is, self-evidently, just $n$. In the second, we're choosing a number $m$ between $1$ and $n$ inclusive, again, but then choosing an $l$ between $1$ and $m$; this is exactly the number of ways of choosing two numbers between $1$ and $n$, where we don't care about the order — that is, choosing $2$ and $5$ is exactly the same as choosing $5$ and $2$. Similarly, $displaystylesum_{m=1}^nsum_{l=1}^msum_{k=1}^l1$ counts the number of ways of choosing three numbers between $1$ and $n$, without regard to order; this is because we can sort the numbers we've chosen (since we don't care about order), and then note that the largest can be anywhere between $1$ and $n$, but then the next largest can only be between $1$ and the largest, etc.



                  Now, the difference between this and regular combinations is that in a regular combination every chosen number must be distinct; but if we have an ordered list $langle k, l, mrangle$ of the (not necessarily distinct) numbers we've chosen between $1$ and $n$ then we can turn this into an ordered list of not necessarily distinct numbers between $1$ and $n+2$: let $k'=k$, $l'=l+1$, $m'=m+2$. You should be able to convince yourself that this is a one-to-one correspondence between not-necessarily-distinct choices in ${1ldots n}$ and distinct choices in ${1ldots n+2}$, and the same principle extends to any number of choices. (This wikipedia link has more details).







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered 1 hour ago









                  Steven StadnickiSteven Stadnicki

                  41.4k869122




                  41.4k869122























                      0












                      $begingroup$

                      $$S_{n_2}=sum_{i=1}^nsum_{j=1}^ij=sum_{i=1}^nfrac{i(i+1)}{2}=frac12sum_{i=1}^ni^2+i=frac12left[frac{n(n+1)(2n+1)}{6}+frac{n(n+1)}{2}right]=frac{n(n+1)(n+2)}{6}$$
                      and now:
                      $$S_{n_3}=sum_{i=1}^nsum_{j=1}^isum_{k=1}^jk=frac16sum_{i=1}^ni(i+1)(i+2)=frac16sum_{i=1}^ni^3+3i^2+2i=frac16left[frac{n^2(n+1)^2}{4}+frac{n(n+1)(2n+1)}{2}+n(n+1)right]=frac{n(n+1)}{6}left[frac{n(n+1)}{4}+frac{(2n+1)}{2}+1right]=frac{n(n+1)(n+2)(n+3)}{24}$$
                      and we can see a pattern here. For a series $S_{n_a}$ with $a$ nested summations the following is true:
                      $$S_{n_a}=frac{1}{(a+1)!}prod_{b=0}^a(n+b)=frac{(n+a)!}{(n-1)!(a+1)!}$$






                      share|cite|improve this answer









                      $endgroup$













                      • $begingroup$
                        What is wrong with this answer?
                        $endgroup$
                        – Henry Lee
                        2 hours ago










                      • $begingroup$
                        I don´t know. Hopefully the downvoter leaves a comment.
                        $endgroup$
                        – callculus
                        2 hours ago






                      • 1




                        $begingroup$
                        Appart from the notation $S_{n_a}$, looks good. Note also that the last expression is ${n+achoose a+1}$.
                        $endgroup$
                        – Jean-Claude Arbaut
                        2 hours ago
















                      0












                      $begingroup$

                      $$S_{n_2}=sum_{i=1}^nsum_{j=1}^ij=sum_{i=1}^nfrac{i(i+1)}{2}=frac12sum_{i=1}^ni^2+i=frac12left[frac{n(n+1)(2n+1)}{6}+frac{n(n+1)}{2}right]=frac{n(n+1)(n+2)}{6}$$
                      and now:
                      $$S_{n_3}=sum_{i=1}^nsum_{j=1}^isum_{k=1}^jk=frac16sum_{i=1}^ni(i+1)(i+2)=frac16sum_{i=1}^ni^3+3i^2+2i=frac16left[frac{n^2(n+1)^2}{4}+frac{n(n+1)(2n+1)}{2}+n(n+1)right]=frac{n(n+1)}{6}left[frac{n(n+1)}{4}+frac{(2n+1)}{2}+1right]=frac{n(n+1)(n+2)(n+3)}{24}$$
                      and we can see a pattern here. For a series $S_{n_a}$ with $a$ nested summations the following is true:
                      $$S_{n_a}=frac{1}{(a+1)!}prod_{b=0}^a(n+b)=frac{(n+a)!}{(n-1)!(a+1)!}$$






                      share|cite|improve this answer









                      $endgroup$













                      • $begingroup$
                        What is wrong with this answer?
                        $endgroup$
                        – Henry Lee
                        2 hours ago










                      • $begingroup$
                        I don´t know. Hopefully the downvoter leaves a comment.
                        $endgroup$
                        – callculus
                        2 hours ago






                      • 1




                        $begingroup$
                        Appart from the notation $S_{n_a}$, looks good. Note also that the last expression is ${n+achoose a+1}$.
                        $endgroup$
                        – Jean-Claude Arbaut
                        2 hours ago














                      0












                      0








                      0





                      $begingroup$

                      $$S_{n_2}=sum_{i=1}^nsum_{j=1}^ij=sum_{i=1}^nfrac{i(i+1)}{2}=frac12sum_{i=1}^ni^2+i=frac12left[frac{n(n+1)(2n+1)}{6}+frac{n(n+1)}{2}right]=frac{n(n+1)(n+2)}{6}$$
                      and now:
                      $$S_{n_3}=sum_{i=1}^nsum_{j=1}^isum_{k=1}^jk=frac16sum_{i=1}^ni(i+1)(i+2)=frac16sum_{i=1}^ni^3+3i^2+2i=frac16left[frac{n^2(n+1)^2}{4}+frac{n(n+1)(2n+1)}{2}+n(n+1)right]=frac{n(n+1)}{6}left[frac{n(n+1)}{4}+frac{(2n+1)}{2}+1right]=frac{n(n+1)(n+2)(n+3)}{24}$$
                      and we can see a pattern here. For a series $S_{n_a}$ with $a$ nested summations the following is true:
                      $$S_{n_a}=frac{1}{(a+1)!}prod_{b=0}^a(n+b)=frac{(n+a)!}{(n-1)!(a+1)!}$$






                      share|cite|improve this answer









                      $endgroup$



                      $$S_{n_2}=sum_{i=1}^nsum_{j=1}^ij=sum_{i=1}^nfrac{i(i+1)}{2}=frac12sum_{i=1}^ni^2+i=frac12left[frac{n(n+1)(2n+1)}{6}+frac{n(n+1)}{2}right]=frac{n(n+1)(n+2)}{6}$$
                      and now:
                      $$S_{n_3}=sum_{i=1}^nsum_{j=1}^isum_{k=1}^jk=frac16sum_{i=1}^ni(i+1)(i+2)=frac16sum_{i=1}^ni^3+3i^2+2i=frac16left[frac{n^2(n+1)^2}{4}+frac{n(n+1)(2n+1)}{2}+n(n+1)right]=frac{n(n+1)}{6}left[frac{n(n+1)}{4}+frac{(2n+1)}{2}+1right]=frac{n(n+1)(n+2)(n+3)}{24}$$
                      and we can see a pattern here. For a series $S_{n_a}$ with $a$ nested summations the following is true:
                      $$S_{n_a}=frac{1}{(a+1)!}prod_{b=0}^a(n+b)=frac{(n+a)!}{(n-1)!(a+1)!}$$







                      share|cite|improve this answer












                      share|cite|improve this answer



                      share|cite|improve this answer










                      answered 2 hours ago









                      Henry LeeHenry Lee

                      2,179319




                      2,179319












                      • $begingroup$
                        What is wrong with this answer?
                        $endgroup$
                        – Henry Lee
                        2 hours ago










                      • $begingroup$
                        I don´t know. Hopefully the downvoter leaves a comment.
                        $endgroup$
                        – callculus
                        2 hours ago






                      • 1




                        $begingroup$
                        Appart from the notation $S_{n_a}$, looks good. Note also that the last expression is ${n+achoose a+1}$.
                        $endgroup$
                        – Jean-Claude Arbaut
                        2 hours ago


















                      • $begingroup$
                        What is wrong with this answer?
                        $endgroup$
                        – Henry Lee
                        2 hours ago










                      • $begingroup$
                        I don´t know. Hopefully the downvoter leaves a comment.
                        $endgroup$
                        – callculus
                        2 hours ago






                      • 1




                        $begingroup$
                        Appart from the notation $S_{n_a}$, looks good. Note also that the last expression is ${n+achoose a+1}$.
                        $endgroup$
                        – Jean-Claude Arbaut
                        2 hours ago
















                      $begingroup$
                      What is wrong with this answer?
                      $endgroup$
                      – Henry Lee
                      2 hours ago




                      $begingroup$
                      What is wrong with this answer?
                      $endgroup$
                      – Henry Lee
                      2 hours ago












                      $begingroup$
                      I don´t know. Hopefully the downvoter leaves a comment.
                      $endgroup$
                      – callculus
                      2 hours ago




                      $begingroup$
                      I don´t know. Hopefully the downvoter leaves a comment.
                      $endgroup$
                      – callculus
                      2 hours ago




                      1




                      1




                      $begingroup$
                      Appart from the notation $S_{n_a}$, looks good. Note also that the last expression is ${n+achoose a+1}$.
                      $endgroup$
                      – Jean-Claude Arbaut
                      2 hours ago




                      $begingroup$
                      Appart from the notation $S_{n_a}$, looks good. Note also that the last expression is ${n+achoose a+1}$.
                      $endgroup$
                      – Jean-Claude Arbaut
                      2 hours ago










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










                      draft saved

                      draft discarded


















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













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












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
















                      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%2f3191318%2fclosed-form-of-recurrent-arithmetic-series-summation%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

                      Gersau Kjelder | Navigasjonsmeny46°59′0″N 8°31′0″E46°59′0″N...

                      Nässjö kommun Tettstader | Kjelder | NavigasjonsmenyeVIAFISNIGeoNamesMusicBrainz (area)

                      Kvitkval Innhaldsliste Taksonomi og utvikling | Utsjånad og levevis | Utbreiing | Åtferd |...