Proof of a combinatorial equation

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
8
down vote

favorite
4












How can we use elementary methods to prove that



$$sum_i = 2^nn choose i i! n^n - i = sum_i = 1^n - 1n choose ii^i (n - i)^n - i$$



for any integer $n geq 0$?



The values of each side for fixed $n$ are 0, 0, 2, 24, 312, 4720, ... (A001864 - OEIS).










share|cite|improve this question



























    up vote
    8
    down vote

    favorite
    4












    How can we use elementary methods to prove that



    $$sum_i = 2^nn choose i i! n^n - i = sum_i = 1^n - 1n choose ii^i (n - i)^n - i$$



    for any integer $n geq 0$?



    The values of each side for fixed $n$ are 0, 0, 2, 24, 312, 4720, ... (A001864 - OEIS).










    share|cite|improve this question

























      up vote
      8
      down vote

      favorite
      4









      up vote
      8
      down vote

      favorite
      4






      4





      How can we use elementary methods to prove that



      $$sum_i = 2^nn choose i i! n^n - i = sum_i = 1^n - 1n choose ii^i (n - i)^n - i$$



      for any integer $n geq 0$?



      The values of each side for fixed $n$ are 0, 0, 2, 24, 312, 4720, ... (A001864 - OEIS).










      share|cite|improve this question















      How can we use elementary methods to prove that



      $$sum_i = 2^nn choose i i! n^n - i = sum_i = 1^n - 1n choose ii^i (n - i)^n - i$$



      for any integer $n geq 0$?



      The values of each side for fixed $n$ are 0, 0, 2, 24, 312, 4720, ... (A001864 - OEIS).







      co.combinatorics






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Aug 21 at 13:19

























      asked Aug 21 at 12:59









      Jingzhe Tang

      585




      585




















          6 Answers
          6






          active

          oldest

          votes

















          up vote
          11
          down vote



          accepted










          Everything is already contained in OEIS comments for A001864 and A000435 (a remarkable comment is that A000435 is the sequence that started it all: the first sequence in the database!)



          We take $n$ labelled vertices, consider all trees on them, and sum up the distances between all pairs of vertices (each distance counted twice).



          One way to do it is the following: this sum is the number of 5-tuples $(T,a,b,c,d)$ such that $T$ is a tree, $a,b,c,d$ are vertices, $ab$ is an edge of $T$ and this edge belongs to the path between $c$ and $d$ (in the order $cabd$ on the path). If we remove $ab$, we get two connected components $Ani a$, $Bni b$. If $|A|=i$, $|B|=n-i$, we may fix $A$, $B$ by $binomni$ ways, after that fix restrictions of $T$ onto $A$, $B$ by $i^i-2(n-i)^n-i-2$ ways and fix $a,b,c,d$ by $i^2(n-i)^2$ ways. Totally we get RHS of your formula.



          Why we get LHS is explained in Claude Lenormand's comment for A000435 (there we count the sum of distances from the fixed vertex 0 to other vertices in all trees, of course it is $n$ times less than the sum of all distances.)






          share|cite|improve this answer






















          • Really nice combinatorial interpretation!
            – Sam Hopkins
            Aug 22 at 16:16










          • Thanks for inspiration. It should be the most appropriate interpretation if we focus on combinatorics. By the way, it would be better if it is mentioned that "total height of rooted trees with $n$ labeled nodes" is equal to "total length of directed simple paths of unrooted trees with $n$ labeled nodes".
            – Jingzhe Tang
            Aug 25 at 21:50











          • mentioned where, here or on OEIS? It is not quite the same, but the ratio equals $n$.
            – Fedor Petrov
            Aug 25 at 22:40


















          up vote
          21
          down vote













          Let $mathbbN=left 0,1,2,ldotsright $. The following fact I have
          seen referred to as the "Cauchy identity":




          Theorem 1. Let $ninmathbbN$. Then,
          beginequation
          sum_k=0^ndbinomnkleft( X+kright) ^kleft( Y-kright)
          ^n-k=sum_t=0^ndfracn!t!left( X+Yright) ^t
          endequation
          in the polynomial ring $mathbbZleft[ X,Yright] $.




          One proof of Theorem 1 can be found in Darij Grinberg, 6th QEDMO 2009,
          Problem 4 (the Cauchy identity)
          . Alternatively, Theorem 1 is the particular case
          (for $mathbbL=mathbbZleft[ X,Yright] $, $S=left 1,2,ldots
          ,nright $ and $x_s=1$) of Theorem 2.2 in Darij Grinberg,
          Noncommutative Abel-like identities. More directly, it is the particular case (for
          $Z=1$) of equality (1) in the latter reference, where I also cite other sources.




          Corollary 2. Let $ninmathbbN$. Then,
          beginequation
          sum_i=0^ndbinomnii^ileft( n-iright) ^n-i=sum_i=0
          ^ndbinomnii!n^n-i.
          endequation




          Proof of Corollary 2. Theorem 1 is an equality between two polynomials.
          Renaming the summation index $k$ as $i$ in this equality, we obtain
          beginequation
          sum_i=0^ndbinomnileft( X+iright) ^ileft( Y-iright)
          ^n-i=sum_t=0^ndfracn!t!left( X+Yright) ^t
          endequation
          Substituting $0$ and $n$ for $X$ and $Y$ in this equality, we find
          beginalign*
          & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
          & =sum_t=0^ndfracn!t!n^t\
          & =sum_i=0^nunderbracedfracn!left( n-iright) !_=dbinom
          nii!n^n-iqquadleft(
          beginarray
          [c]c
          texthere, we have substituted n-itext for t\
          textin the sum
          endarray
          right) \
          & =sum_i=0^ndbinomnii!n^n-i.
          endalign*
          This proves Corollary 2. $blacksquare$



          Are there combinatorial proofs of Corollary 2? I'm pretty sure that the answer
          is "Yes", and I suspect that they involve counting some sort of functions from
          $left 1,2,ldots,nright $ to $left 1,2,ldots,nright $ with
          some specific conditions on their recurrent values.




          Corollary 3. Let $ninmathbbN$. Then,
          beginequation
          sum_i=2^ndbinomnii!n^n-i=sum_i=1^n-1dbinomnii^ileft(
          n-iright) ^n-i.
          endequation




          Proof of Corollary 3. If $nleq1$, then both sides are $0$, whence the
          equality follows. Hence, we WLOG assume that $n>1$. Thus,
          beginalign*
          & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
          & =underbracedbinomn0_=1underbrace0^0_=1underbraceleft(
          n-0right) ^n-0_=n^n+sum_i=1^n-1dbinomnii^ileft(
          n-iright) ^n-i+underbracedbinomnn_=1n^nunderbraceleft(
          n-nright) ^n-n_=0^0=1\
          & =n^n+sum_i=1^n-1dbinomnii^ileft( n-iright) ^n-i+n^n.
          endalign*
          Comparing this with
          beginalign*
          & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
          & =sum_i=0^ndbinomnii!n^n-iqquadleft( textby Corollary
          2right) \
          & =underbracedbinomn0_=1underbrace0!_=1underbracen^n-0
          _=n^n+underbracedbinomn1_=nunderbrace1!_=1n^n-1
          +sum_i=2^ndbinomnii!n^n-i\
          & =n^n+underbracenn^n-1_=n^n+sum_i=2^ndbinomni
          i!n^n-i=n^n+n^n+sum_i=2^ndbinomnii!n^n-i,
          endalign*
          we obtain
          beginalign*
          n^n+n^n+sum_i=2^ndbinomnii!n^n-i=n^n+sum_i=1^n-1
          dbinomnii^ileft( n-iright) ^n-i+n^n.
          endalign*
          Subtracting $n^n+n^n$ from both sides of this equality, we obtain
          beginequation
          sum_i=2^ndbinomnii!n^n-i=sum_i=1^n-1dbinomnii^ileft(
          n-iright) ^n-i.
          endequation
          This proves Corollary 3. $blacksquare$



          Corollary 3 is your claim.






          share|cite|improve this answer



























            up vote
            5
            down vote













            Here is an alternative proof of the Cauchy identity.



            Fix constants $x$ and $y$ and consider $C=(xpartial_s+y+partial_spartial_t-partial_t)^n(e^se^t)|_s=t=0$.



            Dealing with the $s$ terms and then $t$ terms gives
            beginalign
            C&=sum_k=0^nnchoose k(xpartial_s+partial_spartial_t)^k(y-partial_t)^n-k(e^se^t)|_s=t=0\
            &=sum_k=0^nnchoose k(x+partial_t)^k(y-partial_t)^n-k(e^kt+se^t)|_s=t=0\
            &=sum_k=0^nnchoose k(x+partial_t)^k(y-partial_t)^n-k(e^kt)|_t=0\
            &=sum_k=0^nnchoose k(x+k)^k(y-k)^n-k(e^kt)|_t=0\
            &=sum_k=0^nnchoose k(x+k)^k(y-k)^n-k.
            endalign
            The reverse order gives
            beginalign
            C&=sum_k=0^nnchoose k(xpartial_s+y)^k(partial_spartial_t-partial_t)^n-k(e^se^t)|_s=t=0\
            &=sum_k=0^nnchoose k(xpartial_s+y)^k(partial_s-1)^n-k(p(s)e^s)|_s=0,
            endalign
            where $p(s)$ is a polynomial with initial term $s^n-k$. Hence
            beginalign
            C&=sum_k=0^nnchoose k(xpartial_s+y)^k((n-k)!e^s)|_s=0\
            &=sum_k=0^nnchoose k(x+y)^k((n-k)!e^s)|_s=0\
            &=sum_k=0^nfracn!k!(x+y)^k.
            endalign






            share|cite|improve this answer




















            • How do you get $pleft(sright)$ and its initial term? And why does $left(partial_s-1right)^n-k$ take $pleft(sright)e^s$ to $left(n-kright)! e^s$ ?
              – darij grinberg
              Aug 22 at 22:03










            • @darijgrinberg By induction, $partial_t^m e^se^t$ is a sum of terms of the form $q(s)e^kt+se^t$ for all $m$. There's exactly one term where the $partial_t$ pulled out an $s$ each time, so $p(s)$ has degree $n-k$ and leading coefficient $1$. For the latter point, note that $(partial_s-1)(p(s)e^s)=p'(s)e^s$.
              – MTyson
              Aug 22 at 22:23






            • 1




              Ah. Since I can't quite follow your "$partial_t$ pulled out an $s$" argument, let me re-argue your first claim in my language: For each $m geq 0$, there is a sequence $left(q_m,0, q_m,1, q_m,2, ldotsright)$ of univariate polynomials such that $partial^m_t e^se^t = sumlimits_k=0^infty q_m,kleft(sright) e^kt+se^t$, and such that $q_m,k = 0$ for all $k > m$. This is proven by induction on $m$, and this argument also shows that $q_m,k = k q_m-1,k + s q_m-1,k-1$ for all $m$ and $k$, where $q_m-1,k-1$ is understood to be $0$ if $k = 0$. This ...
              – darij grinberg
              Aug 23 at 0:15







            • 1




              ... recursive equation (along with the fact that $q_0,k$ is the Kronecker delta $delta_0,k$ for each $k geq 0$) determines the polynomials $q_m,k$ uniquely. Now, set $q_m = sumlimits_k=0^infty q_m,k$ for each $m geq 0$. It is then easy to see that $left(partial_t^m e^se^tright)mid_t=0 = q_mleft(sright)$. So we need to show that the leading term of $q_mleft(sright)$ is $s^m$. But this easily follows from the fact that ...
              – darij grinberg
              Aug 23 at 0:20







            • 1




              ... the polynomial $q_m,kleft(sright)$ equals $s^m$ when $k = m$ but is a linear combination of smaller powers of $s$ when $k neq m$. (This fact, in turn, can be proven by induction on $m$ using the above recurrence.)
              – darij grinberg
              Aug 23 at 0:24

















            up vote
            5
            down vote













            A standard approach to proving this kind of identity is to use differences of polynomials.



            First note that if change the limits on both sums to 0 and $n$, then we add two terms on the left and two terms on the right, and each of the four additional terms is equal to $n^n$. So we may instead prove the modified identity in which each sum goes from 0 to $n$.



            We have
            $$
            beginaligned
            sum_i=0^n binom ni i^i (n-i)^n-i&=sum_i=0^n binom ni i^i sum_j=0^n-i binomn-ij n^j (-i)^n-i-j\
            &=sum_j=0^n binom nj n^j sum_i=0^n-j(-1)^n-i-jbinomn-jii^n-j.endaligned
            $$
            The inner sum on the right is the $(n-j)$th difference of a polynomial in $i$ of degree $n-j$ with leading coefficient 1, and is therefore equal to $(n-j)!$. Thus the sum is equal to
            $$
            sum_j binom nj n^j (n-j)! = sum_i=0^n binom ni i!, n^n-i.
            $$






            share|cite|improve this answer



























              up vote
              4
              down vote













              Similar questions can also be dealt with using generating functions and Lagrange inversion.



              Let $T(z)$ (the "tree function") be the formal power series satisfying $T(z)=z,e^T(z)$.



              If $F$ is a formal power series the coefficients of $G(z):=F(T(z))$ are given by (Lagrange inversion)
              $$[z^0]G(z)=[z^0] F(z) mbox , [z^k]G(z)=tfrac1k [y^k-1] F^prime(y),e^ky =[y^k](1-y)F(y),e^kymbox for kgeq 1;.$$
              In particular

              $$T(z)=sum_ngeq 1fracn^n-1n!z^n ;mbox and ;
              fracT(z)1-T(z)=sum_ngeq 1fracn^nn!z^n$$
              When you divide the rhs of your equation above by $n!$ you clearly get the $n$-th coefficient of the convolution of the series $a_0:=0, a_k:=frack^kk!;;kgeq 1$ (i.e. the coefficients of $T(z) over 1-T(z)$) with itself.



              Therefore
              beginalign*sum_i=1^n-1 n choose i i^i(n-i)^n-i&=n!,[z^n] bigg(T(z) over 1-T(z)bigg)^2\
              &=n!,[y^n] (1-y) y^2 over (1-y)^2,e^ny\
              &=n!,[y^n-2] e^ny over 1-y=n!sum_i=0^n-2n^i over i!
              endalign*
              which is what you want.



              Remark: the exponential generating function $big(T(z) over 1-T(z)big)^2$ for the rhs was already given by Vladeta Jovovic in the notes to A001864 - OEIS






              share|cite|improve this answer



























                up vote
                1
                down vote













                Here is an alternative.



                Define the functions $A_n(t)=sum_kbinomnkt(t+k)^k-1(n-k)^n-k, B_n(t)=sum_kfracn!(n-k)!(t+n)^n-k$ and
                $C_n(t)=sum_kbinomnk(t+k)^k(n-k)^n-k$.



                From $(t+k)^k=t(t+k)^k-1+k(t+k)^k-1$ and on the basis of Abel's identity,
                one gets $C_n(t)=A_n(t)+nC_n-1(t+1)=(t+n)^n+nC_n-1(t+1)$. It is easy to check that $B_n(t)=(t+n)^n+nB_n-1(t+1)$. Since both $B_n$
                and $C_n$ satisfy the same initial conditions, it follows $B_n(t)=C_n(t)$. So, $B_n(0)=C_n(0)$ gives the desired result.






                share|cite|improve this answer




















                  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: false,
                  showLowRepImageUploadWarning: true,
                  reputationToPostImages: 10,
                  bindNavPrevention: true,
                  postfix: "",
                  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%2fmathoverflow.net%2fquestions%2f308819%2fproof-of-a-combinatorial-equation%23new-answer', 'question_page');

                  );

                  Post as a guest






























                  6 Answers
                  6






                  active

                  oldest

                  votes








                  6 Answers
                  6






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes








                  up vote
                  11
                  down vote



                  accepted










                  Everything is already contained in OEIS comments for A001864 and A000435 (a remarkable comment is that A000435 is the sequence that started it all: the first sequence in the database!)



                  We take $n$ labelled vertices, consider all trees on them, and sum up the distances between all pairs of vertices (each distance counted twice).



                  One way to do it is the following: this sum is the number of 5-tuples $(T,a,b,c,d)$ such that $T$ is a tree, $a,b,c,d$ are vertices, $ab$ is an edge of $T$ and this edge belongs to the path between $c$ and $d$ (in the order $cabd$ on the path). If we remove $ab$, we get two connected components $Ani a$, $Bni b$. If $|A|=i$, $|B|=n-i$, we may fix $A$, $B$ by $binomni$ ways, after that fix restrictions of $T$ onto $A$, $B$ by $i^i-2(n-i)^n-i-2$ ways and fix $a,b,c,d$ by $i^2(n-i)^2$ ways. Totally we get RHS of your formula.



                  Why we get LHS is explained in Claude Lenormand's comment for A000435 (there we count the sum of distances from the fixed vertex 0 to other vertices in all trees, of course it is $n$ times less than the sum of all distances.)






                  share|cite|improve this answer






















                  • Really nice combinatorial interpretation!
                    – Sam Hopkins
                    Aug 22 at 16:16










                  • Thanks for inspiration. It should be the most appropriate interpretation if we focus on combinatorics. By the way, it would be better if it is mentioned that "total height of rooted trees with $n$ labeled nodes" is equal to "total length of directed simple paths of unrooted trees with $n$ labeled nodes".
                    – Jingzhe Tang
                    Aug 25 at 21:50











                  • mentioned where, here or on OEIS? It is not quite the same, but the ratio equals $n$.
                    – Fedor Petrov
                    Aug 25 at 22:40















                  up vote
                  11
                  down vote



                  accepted










                  Everything is already contained in OEIS comments for A001864 and A000435 (a remarkable comment is that A000435 is the sequence that started it all: the first sequence in the database!)



                  We take $n$ labelled vertices, consider all trees on them, and sum up the distances between all pairs of vertices (each distance counted twice).



                  One way to do it is the following: this sum is the number of 5-tuples $(T,a,b,c,d)$ such that $T$ is a tree, $a,b,c,d$ are vertices, $ab$ is an edge of $T$ and this edge belongs to the path between $c$ and $d$ (in the order $cabd$ on the path). If we remove $ab$, we get two connected components $Ani a$, $Bni b$. If $|A|=i$, $|B|=n-i$, we may fix $A$, $B$ by $binomni$ ways, after that fix restrictions of $T$ onto $A$, $B$ by $i^i-2(n-i)^n-i-2$ ways and fix $a,b,c,d$ by $i^2(n-i)^2$ ways. Totally we get RHS of your formula.



                  Why we get LHS is explained in Claude Lenormand's comment for A000435 (there we count the sum of distances from the fixed vertex 0 to other vertices in all trees, of course it is $n$ times less than the sum of all distances.)






                  share|cite|improve this answer






















                  • Really nice combinatorial interpretation!
                    – Sam Hopkins
                    Aug 22 at 16:16










                  • Thanks for inspiration. It should be the most appropriate interpretation if we focus on combinatorics. By the way, it would be better if it is mentioned that "total height of rooted trees with $n$ labeled nodes" is equal to "total length of directed simple paths of unrooted trees with $n$ labeled nodes".
                    – Jingzhe Tang
                    Aug 25 at 21:50











                  • mentioned where, here or on OEIS? It is not quite the same, but the ratio equals $n$.
                    – Fedor Petrov
                    Aug 25 at 22:40













                  up vote
                  11
                  down vote



                  accepted







                  up vote
                  11
                  down vote



                  accepted






                  Everything is already contained in OEIS comments for A001864 and A000435 (a remarkable comment is that A000435 is the sequence that started it all: the first sequence in the database!)



                  We take $n$ labelled vertices, consider all trees on them, and sum up the distances between all pairs of vertices (each distance counted twice).



                  One way to do it is the following: this sum is the number of 5-tuples $(T,a,b,c,d)$ such that $T$ is a tree, $a,b,c,d$ are vertices, $ab$ is an edge of $T$ and this edge belongs to the path between $c$ and $d$ (in the order $cabd$ on the path). If we remove $ab$, we get two connected components $Ani a$, $Bni b$. If $|A|=i$, $|B|=n-i$, we may fix $A$, $B$ by $binomni$ ways, after that fix restrictions of $T$ onto $A$, $B$ by $i^i-2(n-i)^n-i-2$ ways and fix $a,b,c,d$ by $i^2(n-i)^2$ ways. Totally we get RHS of your formula.



                  Why we get LHS is explained in Claude Lenormand's comment for A000435 (there we count the sum of distances from the fixed vertex 0 to other vertices in all trees, of course it is $n$ times less than the sum of all distances.)






                  share|cite|improve this answer














                  Everything is already contained in OEIS comments for A001864 and A000435 (a remarkable comment is that A000435 is the sequence that started it all: the first sequence in the database!)



                  We take $n$ labelled vertices, consider all trees on them, and sum up the distances between all pairs of vertices (each distance counted twice).



                  One way to do it is the following: this sum is the number of 5-tuples $(T,a,b,c,d)$ such that $T$ is a tree, $a,b,c,d$ are vertices, $ab$ is an edge of $T$ and this edge belongs to the path between $c$ and $d$ (in the order $cabd$ on the path). If we remove $ab$, we get two connected components $Ani a$, $Bni b$. If $|A|=i$, $|B|=n-i$, we may fix $A$, $B$ by $binomni$ ways, after that fix restrictions of $T$ onto $A$, $B$ by $i^i-2(n-i)^n-i-2$ ways and fix $a,b,c,d$ by $i^2(n-i)^2$ ways. Totally we get RHS of your formula.



                  Why we get LHS is explained in Claude Lenormand's comment for A000435 (there we count the sum of distances from the fixed vertex 0 to other vertices in all trees, of course it is $n$ times less than the sum of all distances.)







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Aug 22 at 16:19









                  Sam Hopkins

                  3,66812245




                  3,66812245










                  answered Aug 22 at 15:58









                  Fedor Petrov

                  44.9k5107211




                  44.9k5107211











                  • Really nice combinatorial interpretation!
                    – Sam Hopkins
                    Aug 22 at 16:16










                  • Thanks for inspiration. It should be the most appropriate interpretation if we focus on combinatorics. By the way, it would be better if it is mentioned that "total height of rooted trees with $n$ labeled nodes" is equal to "total length of directed simple paths of unrooted trees with $n$ labeled nodes".
                    – Jingzhe Tang
                    Aug 25 at 21:50











                  • mentioned where, here or on OEIS? It is not quite the same, but the ratio equals $n$.
                    – Fedor Petrov
                    Aug 25 at 22:40

















                  • Really nice combinatorial interpretation!
                    – Sam Hopkins
                    Aug 22 at 16:16










                  • Thanks for inspiration. It should be the most appropriate interpretation if we focus on combinatorics. By the way, it would be better if it is mentioned that "total height of rooted trees with $n$ labeled nodes" is equal to "total length of directed simple paths of unrooted trees with $n$ labeled nodes".
                    – Jingzhe Tang
                    Aug 25 at 21:50











                  • mentioned where, here or on OEIS? It is not quite the same, but the ratio equals $n$.
                    – Fedor Petrov
                    Aug 25 at 22:40
















                  Really nice combinatorial interpretation!
                  – Sam Hopkins
                  Aug 22 at 16:16




                  Really nice combinatorial interpretation!
                  – Sam Hopkins
                  Aug 22 at 16:16












                  Thanks for inspiration. It should be the most appropriate interpretation if we focus on combinatorics. By the way, it would be better if it is mentioned that "total height of rooted trees with $n$ labeled nodes" is equal to "total length of directed simple paths of unrooted trees with $n$ labeled nodes".
                  – Jingzhe Tang
                  Aug 25 at 21:50





                  Thanks for inspiration. It should be the most appropriate interpretation if we focus on combinatorics. By the way, it would be better if it is mentioned that "total height of rooted trees with $n$ labeled nodes" is equal to "total length of directed simple paths of unrooted trees with $n$ labeled nodes".
                  – Jingzhe Tang
                  Aug 25 at 21:50













                  mentioned where, here or on OEIS? It is not quite the same, but the ratio equals $n$.
                  – Fedor Petrov
                  Aug 25 at 22:40





                  mentioned where, here or on OEIS? It is not quite the same, but the ratio equals $n$.
                  – Fedor Petrov
                  Aug 25 at 22:40











                  up vote
                  21
                  down vote













                  Let $mathbbN=left 0,1,2,ldotsright $. The following fact I have
                  seen referred to as the "Cauchy identity":




                  Theorem 1. Let $ninmathbbN$. Then,
                  beginequation
                  sum_k=0^ndbinomnkleft( X+kright) ^kleft( Y-kright)
                  ^n-k=sum_t=0^ndfracn!t!left( X+Yright) ^t
                  endequation
                  in the polynomial ring $mathbbZleft[ X,Yright] $.




                  One proof of Theorem 1 can be found in Darij Grinberg, 6th QEDMO 2009,
                  Problem 4 (the Cauchy identity)
                  . Alternatively, Theorem 1 is the particular case
                  (for $mathbbL=mathbbZleft[ X,Yright] $, $S=left 1,2,ldots
                  ,nright $ and $x_s=1$) of Theorem 2.2 in Darij Grinberg,
                  Noncommutative Abel-like identities. More directly, it is the particular case (for
                  $Z=1$) of equality (1) in the latter reference, where I also cite other sources.




                  Corollary 2. Let $ninmathbbN$. Then,
                  beginequation
                  sum_i=0^ndbinomnii^ileft( n-iright) ^n-i=sum_i=0
                  ^ndbinomnii!n^n-i.
                  endequation




                  Proof of Corollary 2. Theorem 1 is an equality between two polynomials.
                  Renaming the summation index $k$ as $i$ in this equality, we obtain
                  beginequation
                  sum_i=0^ndbinomnileft( X+iright) ^ileft( Y-iright)
                  ^n-i=sum_t=0^ndfracn!t!left( X+Yright) ^t
                  endequation
                  Substituting $0$ and $n$ for $X$ and $Y$ in this equality, we find
                  beginalign*
                  & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
                  & =sum_t=0^ndfracn!t!n^t\
                  & =sum_i=0^nunderbracedfracn!left( n-iright) !_=dbinom
                  nii!n^n-iqquadleft(
                  beginarray
                  [c]c
                  texthere, we have substituted n-itext for t\
                  textin the sum
                  endarray
                  right) \
                  & =sum_i=0^ndbinomnii!n^n-i.
                  endalign*
                  This proves Corollary 2. $blacksquare$



                  Are there combinatorial proofs of Corollary 2? I'm pretty sure that the answer
                  is "Yes", and I suspect that they involve counting some sort of functions from
                  $left 1,2,ldots,nright $ to $left 1,2,ldots,nright $ with
                  some specific conditions on their recurrent values.




                  Corollary 3. Let $ninmathbbN$. Then,
                  beginequation
                  sum_i=2^ndbinomnii!n^n-i=sum_i=1^n-1dbinomnii^ileft(
                  n-iright) ^n-i.
                  endequation




                  Proof of Corollary 3. If $nleq1$, then both sides are $0$, whence the
                  equality follows. Hence, we WLOG assume that $n>1$. Thus,
                  beginalign*
                  & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
                  & =underbracedbinomn0_=1underbrace0^0_=1underbraceleft(
                  n-0right) ^n-0_=n^n+sum_i=1^n-1dbinomnii^ileft(
                  n-iright) ^n-i+underbracedbinomnn_=1n^nunderbraceleft(
                  n-nright) ^n-n_=0^0=1\
                  & =n^n+sum_i=1^n-1dbinomnii^ileft( n-iright) ^n-i+n^n.
                  endalign*
                  Comparing this with
                  beginalign*
                  & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
                  & =sum_i=0^ndbinomnii!n^n-iqquadleft( textby Corollary
                  2right) \
                  & =underbracedbinomn0_=1underbrace0!_=1underbracen^n-0
                  _=n^n+underbracedbinomn1_=nunderbrace1!_=1n^n-1
                  +sum_i=2^ndbinomnii!n^n-i\
                  & =n^n+underbracenn^n-1_=n^n+sum_i=2^ndbinomni
                  i!n^n-i=n^n+n^n+sum_i=2^ndbinomnii!n^n-i,
                  endalign*
                  we obtain
                  beginalign*
                  n^n+n^n+sum_i=2^ndbinomnii!n^n-i=n^n+sum_i=1^n-1
                  dbinomnii^ileft( n-iright) ^n-i+n^n.
                  endalign*
                  Subtracting $n^n+n^n$ from both sides of this equality, we obtain
                  beginequation
                  sum_i=2^ndbinomnii!n^n-i=sum_i=1^n-1dbinomnii^ileft(
                  n-iright) ^n-i.
                  endequation
                  This proves Corollary 3. $blacksquare$



                  Corollary 3 is your claim.






                  share|cite|improve this answer
























                    up vote
                    21
                    down vote













                    Let $mathbbN=left 0,1,2,ldotsright $. The following fact I have
                    seen referred to as the "Cauchy identity":




                    Theorem 1. Let $ninmathbbN$. Then,
                    beginequation
                    sum_k=0^ndbinomnkleft( X+kright) ^kleft( Y-kright)
                    ^n-k=sum_t=0^ndfracn!t!left( X+Yright) ^t
                    endequation
                    in the polynomial ring $mathbbZleft[ X,Yright] $.




                    One proof of Theorem 1 can be found in Darij Grinberg, 6th QEDMO 2009,
                    Problem 4 (the Cauchy identity)
                    . Alternatively, Theorem 1 is the particular case
                    (for $mathbbL=mathbbZleft[ X,Yright] $, $S=left 1,2,ldots
                    ,nright $ and $x_s=1$) of Theorem 2.2 in Darij Grinberg,
                    Noncommutative Abel-like identities. More directly, it is the particular case (for
                    $Z=1$) of equality (1) in the latter reference, where I also cite other sources.




                    Corollary 2. Let $ninmathbbN$. Then,
                    beginequation
                    sum_i=0^ndbinomnii^ileft( n-iright) ^n-i=sum_i=0
                    ^ndbinomnii!n^n-i.
                    endequation




                    Proof of Corollary 2. Theorem 1 is an equality between two polynomials.
                    Renaming the summation index $k$ as $i$ in this equality, we obtain
                    beginequation
                    sum_i=0^ndbinomnileft( X+iright) ^ileft( Y-iright)
                    ^n-i=sum_t=0^ndfracn!t!left( X+Yright) ^t
                    endequation
                    Substituting $0$ and $n$ for $X$ and $Y$ in this equality, we find
                    beginalign*
                    & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
                    & =sum_t=0^ndfracn!t!n^t\
                    & =sum_i=0^nunderbracedfracn!left( n-iright) !_=dbinom
                    nii!n^n-iqquadleft(
                    beginarray
                    [c]c
                    texthere, we have substituted n-itext for t\
                    textin the sum
                    endarray
                    right) \
                    & =sum_i=0^ndbinomnii!n^n-i.
                    endalign*
                    This proves Corollary 2. $blacksquare$



                    Are there combinatorial proofs of Corollary 2? I'm pretty sure that the answer
                    is "Yes", and I suspect that they involve counting some sort of functions from
                    $left 1,2,ldots,nright $ to $left 1,2,ldots,nright $ with
                    some specific conditions on their recurrent values.




                    Corollary 3. Let $ninmathbbN$. Then,
                    beginequation
                    sum_i=2^ndbinomnii!n^n-i=sum_i=1^n-1dbinomnii^ileft(
                    n-iright) ^n-i.
                    endequation




                    Proof of Corollary 3. If $nleq1$, then both sides are $0$, whence the
                    equality follows. Hence, we WLOG assume that $n>1$. Thus,
                    beginalign*
                    & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
                    & =underbracedbinomn0_=1underbrace0^0_=1underbraceleft(
                    n-0right) ^n-0_=n^n+sum_i=1^n-1dbinomnii^ileft(
                    n-iright) ^n-i+underbracedbinomnn_=1n^nunderbraceleft(
                    n-nright) ^n-n_=0^0=1\
                    & =n^n+sum_i=1^n-1dbinomnii^ileft( n-iright) ^n-i+n^n.
                    endalign*
                    Comparing this with
                    beginalign*
                    & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
                    & =sum_i=0^ndbinomnii!n^n-iqquadleft( textby Corollary
                    2right) \
                    & =underbracedbinomn0_=1underbrace0!_=1underbracen^n-0
                    _=n^n+underbracedbinomn1_=nunderbrace1!_=1n^n-1
                    +sum_i=2^ndbinomnii!n^n-i\
                    & =n^n+underbracenn^n-1_=n^n+sum_i=2^ndbinomni
                    i!n^n-i=n^n+n^n+sum_i=2^ndbinomnii!n^n-i,
                    endalign*
                    we obtain
                    beginalign*
                    n^n+n^n+sum_i=2^ndbinomnii!n^n-i=n^n+sum_i=1^n-1
                    dbinomnii^ileft( n-iright) ^n-i+n^n.
                    endalign*
                    Subtracting $n^n+n^n$ from both sides of this equality, we obtain
                    beginequation
                    sum_i=2^ndbinomnii!n^n-i=sum_i=1^n-1dbinomnii^ileft(
                    n-iright) ^n-i.
                    endequation
                    This proves Corollary 3. $blacksquare$



                    Corollary 3 is your claim.






                    share|cite|improve this answer






















                      up vote
                      21
                      down vote










                      up vote
                      21
                      down vote









                      Let $mathbbN=left 0,1,2,ldotsright $. The following fact I have
                      seen referred to as the "Cauchy identity":




                      Theorem 1. Let $ninmathbbN$. Then,
                      beginequation
                      sum_k=0^ndbinomnkleft( X+kright) ^kleft( Y-kright)
                      ^n-k=sum_t=0^ndfracn!t!left( X+Yright) ^t
                      endequation
                      in the polynomial ring $mathbbZleft[ X,Yright] $.




                      One proof of Theorem 1 can be found in Darij Grinberg, 6th QEDMO 2009,
                      Problem 4 (the Cauchy identity)
                      . Alternatively, Theorem 1 is the particular case
                      (for $mathbbL=mathbbZleft[ X,Yright] $, $S=left 1,2,ldots
                      ,nright $ and $x_s=1$) of Theorem 2.2 in Darij Grinberg,
                      Noncommutative Abel-like identities. More directly, it is the particular case (for
                      $Z=1$) of equality (1) in the latter reference, where I also cite other sources.




                      Corollary 2. Let $ninmathbbN$. Then,
                      beginequation
                      sum_i=0^ndbinomnii^ileft( n-iright) ^n-i=sum_i=0
                      ^ndbinomnii!n^n-i.
                      endequation




                      Proof of Corollary 2. Theorem 1 is an equality between two polynomials.
                      Renaming the summation index $k$ as $i$ in this equality, we obtain
                      beginequation
                      sum_i=0^ndbinomnileft( X+iright) ^ileft( Y-iright)
                      ^n-i=sum_t=0^ndfracn!t!left( X+Yright) ^t
                      endequation
                      Substituting $0$ and $n$ for $X$ and $Y$ in this equality, we find
                      beginalign*
                      & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
                      & =sum_t=0^ndfracn!t!n^t\
                      & =sum_i=0^nunderbracedfracn!left( n-iright) !_=dbinom
                      nii!n^n-iqquadleft(
                      beginarray
                      [c]c
                      texthere, we have substituted n-itext for t\
                      textin the sum
                      endarray
                      right) \
                      & =sum_i=0^ndbinomnii!n^n-i.
                      endalign*
                      This proves Corollary 2. $blacksquare$



                      Are there combinatorial proofs of Corollary 2? I'm pretty sure that the answer
                      is "Yes", and I suspect that they involve counting some sort of functions from
                      $left 1,2,ldots,nright $ to $left 1,2,ldots,nright $ with
                      some specific conditions on their recurrent values.




                      Corollary 3. Let $ninmathbbN$. Then,
                      beginequation
                      sum_i=2^ndbinomnii!n^n-i=sum_i=1^n-1dbinomnii^ileft(
                      n-iright) ^n-i.
                      endequation




                      Proof of Corollary 3. If $nleq1$, then both sides are $0$, whence the
                      equality follows. Hence, we WLOG assume that $n>1$. Thus,
                      beginalign*
                      & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
                      & =underbracedbinomn0_=1underbrace0^0_=1underbraceleft(
                      n-0right) ^n-0_=n^n+sum_i=1^n-1dbinomnii^ileft(
                      n-iright) ^n-i+underbracedbinomnn_=1n^nunderbraceleft(
                      n-nright) ^n-n_=0^0=1\
                      & =n^n+sum_i=1^n-1dbinomnii^ileft( n-iright) ^n-i+n^n.
                      endalign*
                      Comparing this with
                      beginalign*
                      & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
                      & =sum_i=0^ndbinomnii!n^n-iqquadleft( textby Corollary
                      2right) \
                      & =underbracedbinomn0_=1underbrace0!_=1underbracen^n-0
                      _=n^n+underbracedbinomn1_=nunderbrace1!_=1n^n-1
                      +sum_i=2^ndbinomnii!n^n-i\
                      & =n^n+underbracenn^n-1_=n^n+sum_i=2^ndbinomni
                      i!n^n-i=n^n+n^n+sum_i=2^ndbinomnii!n^n-i,
                      endalign*
                      we obtain
                      beginalign*
                      n^n+n^n+sum_i=2^ndbinomnii!n^n-i=n^n+sum_i=1^n-1
                      dbinomnii^ileft( n-iright) ^n-i+n^n.
                      endalign*
                      Subtracting $n^n+n^n$ from both sides of this equality, we obtain
                      beginequation
                      sum_i=2^ndbinomnii!n^n-i=sum_i=1^n-1dbinomnii^ileft(
                      n-iright) ^n-i.
                      endequation
                      This proves Corollary 3. $blacksquare$



                      Corollary 3 is your claim.






                      share|cite|improve this answer












                      Let $mathbbN=left 0,1,2,ldotsright $. The following fact I have
                      seen referred to as the "Cauchy identity":




                      Theorem 1. Let $ninmathbbN$. Then,
                      beginequation
                      sum_k=0^ndbinomnkleft( X+kright) ^kleft( Y-kright)
                      ^n-k=sum_t=0^ndfracn!t!left( X+Yright) ^t
                      endequation
                      in the polynomial ring $mathbbZleft[ X,Yright] $.




                      One proof of Theorem 1 can be found in Darij Grinberg, 6th QEDMO 2009,
                      Problem 4 (the Cauchy identity)
                      . Alternatively, Theorem 1 is the particular case
                      (for $mathbbL=mathbbZleft[ X,Yright] $, $S=left 1,2,ldots
                      ,nright $ and $x_s=1$) of Theorem 2.2 in Darij Grinberg,
                      Noncommutative Abel-like identities. More directly, it is the particular case (for
                      $Z=1$) of equality (1) in the latter reference, where I also cite other sources.




                      Corollary 2. Let $ninmathbbN$. Then,
                      beginequation
                      sum_i=0^ndbinomnii^ileft( n-iright) ^n-i=sum_i=0
                      ^ndbinomnii!n^n-i.
                      endequation




                      Proof of Corollary 2. Theorem 1 is an equality between two polynomials.
                      Renaming the summation index $k$ as $i$ in this equality, we obtain
                      beginequation
                      sum_i=0^ndbinomnileft( X+iright) ^ileft( Y-iright)
                      ^n-i=sum_t=0^ndfracn!t!left( X+Yright) ^t
                      endequation
                      Substituting $0$ and $n$ for $X$ and $Y$ in this equality, we find
                      beginalign*
                      & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
                      & =sum_t=0^ndfracn!t!n^t\
                      & =sum_i=0^nunderbracedfracn!left( n-iright) !_=dbinom
                      nii!n^n-iqquadleft(
                      beginarray
                      [c]c
                      texthere, we have substituted n-itext for t\
                      textin the sum
                      endarray
                      right) \
                      & =sum_i=0^ndbinomnii!n^n-i.
                      endalign*
                      This proves Corollary 2. $blacksquare$



                      Are there combinatorial proofs of Corollary 2? I'm pretty sure that the answer
                      is "Yes", and I suspect that they involve counting some sort of functions from
                      $left 1,2,ldots,nright $ to $left 1,2,ldots,nright $ with
                      some specific conditions on their recurrent values.




                      Corollary 3. Let $ninmathbbN$. Then,
                      beginequation
                      sum_i=2^ndbinomnii!n^n-i=sum_i=1^n-1dbinomnii^ileft(
                      n-iright) ^n-i.
                      endequation




                      Proof of Corollary 3. If $nleq1$, then both sides are $0$, whence the
                      equality follows. Hence, we WLOG assume that $n>1$. Thus,
                      beginalign*
                      & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
                      & =underbracedbinomn0_=1underbrace0^0_=1underbraceleft(
                      n-0right) ^n-0_=n^n+sum_i=1^n-1dbinomnii^ileft(
                      n-iright) ^n-i+underbracedbinomnn_=1n^nunderbraceleft(
                      n-nright) ^n-n_=0^0=1\
                      & =n^n+sum_i=1^n-1dbinomnii^ileft( n-iright) ^n-i+n^n.
                      endalign*
                      Comparing this with
                      beginalign*
                      & sum_i=0^ndbinomnii^ileft( n-iright) ^n-i\
                      & =sum_i=0^ndbinomnii!n^n-iqquadleft( textby Corollary
                      2right) \
                      & =underbracedbinomn0_=1underbrace0!_=1underbracen^n-0
                      _=n^n+underbracedbinomn1_=nunderbrace1!_=1n^n-1
                      +sum_i=2^ndbinomnii!n^n-i\
                      & =n^n+underbracenn^n-1_=n^n+sum_i=2^ndbinomni
                      i!n^n-i=n^n+n^n+sum_i=2^ndbinomnii!n^n-i,
                      endalign*
                      we obtain
                      beginalign*
                      n^n+n^n+sum_i=2^ndbinomnii!n^n-i=n^n+sum_i=1^n-1
                      dbinomnii^ileft( n-iright) ^n-i+n^n.
                      endalign*
                      Subtracting $n^n+n^n$ from both sides of this equality, we obtain
                      beginequation
                      sum_i=2^ndbinomnii!n^n-i=sum_i=1^n-1dbinomnii^ileft(
                      n-iright) ^n-i.
                      endequation
                      This proves Corollary 3. $blacksquare$



                      Corollary 3 is your claim.







                      share|cite|improve this answer












                      share|cite|improve this answer



                      share|cite|improve this answer










                      answered Aug 21 at 13:54









                      darij grinberg

                      17.6k368175




                      17.6k368175




















                          up vote
                          5
                          down vote













                          Here is an alternative proof of the Cauchy identity.



                          Fix constants $x$ and $y$ and consider $C=(xpartial_s+y+partial_spartial_t-partial_t)^n(e^se^t)|_s=t=0$.



                          Dealing with the $s$ terms and then $t$ terms gives
                          beginalign
                          C&=sum_k=0^nnchoose k(xpartial_s+partial_spartial_t)^k(y-partial_t)^n-k(e^se^t)|_s=t=0\
                          &=sum_k=0^nnchoose k(x+partial_t)^k(y-partial_t)^n-k(e^kt+se^t)|_s=t=0\
                          &=sum_k=0^nnchoose k(x+partial_t)^k(y-partial_t)^n-k(e^kt)|_t=0\
                          &=sum_k=0^nnchoose k(x+k)^k(y-k)^n-k(e^kt)|_t=0\
                          &=sum_k=0^nnchoose k(x+k)^k(y-k)^n-k.
                          endalign
                          The reverse order gives
                          beginalign
                          C&=sum_k=0^nnchoose k(xpartial_s+y)^k(partial_spartial_t-partial_t)^n-k(e^se^t)|_s=t=0\
                          &=sum_k=0^nnchoose k(xpartial_s+y)^k(partial_s-1)^n-k(p(s)e^s)|_s=0,
                          endalign
                          where $p(s)$ is a polynomial with initial term $s^n-k$. Hence
                          beginalign
                          C&=sum_k=0^nnchoose k(xpartial_s+y)^k((n-k)!e^s)|_s=0\
                          &=sum_k=0^nnchoose k(x+y)^k((n-k)!e^s)|_s=0\
                          &=sum_k=0^nfracn!k!(x+y)^k.
                          endalign






                          share|cite|improve this answer




















                          • How do you get $pleft(sright)$ and its initial term? And why does $left(partial_s-1right)^n-k$ take $pleft(sright)e^s$ to $left(n-kright)! e^s$ ?
                            – darij grinberg
                            Aug 22 at 22:03










                          • @darijgrinberg By induction, $partial_t^m e^se^t$ is a sum of terms of the form $q(s)e^kt+se^t$ for all $m$. There's exactly one term where the $partial_t$ pulled out an $s$ each time, so $p(s)$ has degree $n-k$ and leading coefficient $1$. For the latter point, note that $(partial_s-1)(p(s)e^s)=p'(s)e^s$.
                            – MTyson
                            Aug 22 at 22:23






                          • 1




                            Ah. Since I can't quite follow your "$partial_t$ pulled out an $s$" argument, let me re-argue your first claim in my language: For each $m geq 0$, there is a sequence $left(q_m,0, q_m,1, q_m,2, ldotsright)$ of univariate polynomials such that $partial^m_t e^se^t = sumlimits_k=0^infty q_m,kleft(sright) e^kt+se^t$, and such that $q_m,k = 0$ for all $k > m$. This is proven by induction on $m$, and this argument also shows that $q_m,k = k q_m-1,k + s q_m-1,k-1$ for all $m$ and $k$, where $q_m-1,k-1$ is understood to be $0$ if $k = 0$. This ...
                            – darij grinberg
                            Aug 23 at 0:15







                          • 1




                            ... recursive equation (along with the fact that $q_0,k$ is the Kronecker delta $delta_0,k$ for each $k geq 0$) determines the polynomials $q_m,k$ uniquely. Now, set $q_m = sumlimits_k=0^infty q_m,k$ for each $m geq 0$. It is then easy to see that $left(partial_t^m e^se^tright)mid_t=0 = q_mleft(sright)$. So we need to show that the leading term of $q_mleft(sright)$ is $s^m$. But this easily follows from the fact that ...
                            – darij grinberg
                            Aug 23 at 0:20







                          • 1




                            ... the polynomial $q_m,kleft(sright)$ equals $s^m$ when $k = m$ but is a linear combination of smaller powers of $s$ when $k neq m$. (This fact, in turn, can be proven by induction on $m$ using the above recurrence.)
                            – darij grinberg
                            Aug 23 at 0:24














                          up vote
                          5
                          down vote













                          Here is an alternative proof of the Cauchy identity.



                          Fix constants $x$ and $y$ and consider $C=(xpartial_s+y+partial_spartial_t-partial_t)^n(e^se^t)|_s=t=0$.



                          Dealing with the $s$ terms and then $t$ terms gives
                          beginalign
                          C&=sum_k=0^nnchoose k(xpartial_s+partial_spartial_t)^k(y-partial_t)^n-k(e^se^t)|_s=t=0\
                          &=sum_k=0^nnchoose k(x+partial_t)^k(y-partial_t)^n-k(e^kt+se^t)|_s=t=0\
                          &=sum_k=0^nnchoose k(x+partial_t)^k(y-partial_t)^n-k(e^kt)|_t=0\
                          &=sum_k=0^nnchoose k(x+k)^k(y-k)^n-k(e^kt)|_t=0\
                          &=sum_k=0^nnchoose k(x+k)^k(y-k)^n-k.
                          endalign
                          The reverse order gives
                          beginalign
                          C&=sum_k=0^nnchoose k(xpartial_s+y)^k(partial_spartial_t-partial_t)^n-k(e^se^t)|_s=t=0\
                          &=sum_k=0^nnchoose k(xpartial_s+y)^k(partial_s-1)^n-k(p(s)e^s)|_s=0,
                          endalign
                          where $p(s)$ is a polynomial with initial term $s^n-k$. Hence
                          beginalign
                          C&=sum_k=0^nnchoose k(xpartial_s+y)^k((n-k)!e^s)|_s=0\
                          &=sum_k=0^nnchoose k(x+y)^k((n-k)!e^s)|_s=0\
                          &=sum_k=0^nfracn!k!(x+y)^k.
                          endalign






                          share|cite|improve this answer




















                          • How do you get $pleft(sright)$ and its initial term? And why does $left(partial_s-1right)^n-k$ take $pleft(sright)e^s$ to $left(n-kright)! e^s$ ?
                            – darij grinberg
                            Aug 22 at 22:03










                          • @darijgrinberg By induction, $partial_t^m e^se^t$ is a sum of terms of the form $q(s)e^kt+se^t$ for all $m$. There's exactly one term where the $partial_t$ pulled out an $s$ each time, so $p(s)$ has degree $n-k$ and leading coefficient $1$. For the latter point, note that $(partial_s-1)(p(s)e^s)=p'(s)e^s$.
                            – MTyson
                            Aug 22 at 22:23






                          • 1




                            Ah. Since I can't quite follow your "$partial_t$ pulled out an $s$" argument, let me re-argue your first claim in my language: For each $m geq 0$, there is a sequence $left(q_m,0, q_m,1, q_m,2, ldotsright)$ of univariate polynomials such that $partial^m_t e^se^t = sumlimits_k=0^infty q_m,kleft(sright) e^kt+se^t$, and such that $q_m,k = 0$ for all $k > m$. This is proven by induction on $m$, and this argument also shows that $q_m,k = k q_m-1,k + s q_m-1,k-1$ for all $m$ and $k$, where $q_m-1,k-1$ is understood to be $0$ if $k = 0$. This ...
                            – darij grinberg
                            Aug 23 at 0:15







                          • 1




                            ... recursive equation (along with the fact that $q_0,k$ is the Kronecker delta $delta_0,k$ for each $k geq 0$) determines the polynomials $q_m,k$ uniquely. Now, set $q_m = sumlimits_k=0^infty q_m,k$ for each $m geq 0$. It is then easy to see that $left(partial_t^m e^se^tright)mid_t=0 = q_mleft(sright)$. So we need to show that the leading term of $q_mleft(sright)$ is $s^m$. But this easily follows from the fact that ...
                            – darij grinberg
                            Aug 23 at 0:20







                          • 1




                            ... the polynomial $q_m,kleft(sright)$ equals $s^m$ when $k = m$ but is a linear combination of smaller powers of $s$ when $k neq m$. (This fact, in turn, can be proven by induction on $m$ using the above recurrence.)
                            – darij grinberg
                            Aug 23 at 0:24












                          up vote
                          5
                          down vote










                          up vote
                          5
                          down vote









                          Here is an alternative proof of the Cauchy identity.



                          Fix constants $x$ and $y$ and consider $C=(xpartial_s+y+partial_spartial_t-partial_t)^n(e^se^t)|_s=t=0$.



                          Dealing with the $s$ terms and then $t$ terms gives
                          beginalign
                          C&=sum_k=0^nnchoose k(xpartial_s+partial_spartial_t)^k(y-partial_t)^n-k(e^se^t)|_s=t=0\
                          &=sum_k=0^nnchoose k(x+partial_t)^k(y-partial_t)^n-k(e^kt+se^t)|_s=t=0\
                          &=sum_k=0^nnchoose k(x+partial_t)^k(y-partial_t)^n-k(e^kt)|_t=0\
                          &=sum_k=0^nnchoose k(x+k)^k(y-k)^n-k(e^kt)|_t=0\
                          &=sum_k=0^nnchoose k(x+k)^k(y-k)^n-k.
                          endalign
                          The reverse order gives
                          beginalign
                          C&=sum_k=0^nnchoose k(xpartial_s+y)^k(partial_spartial_t-partial_t)^n-k(e^se^t)|_s=t=0\
                          &=sum_k=0^nnchoose k(xpartial_s+y)^k(partial_s-1)^n-k(p(s)e^s)|_s=0,
                          endalign
                          where $p(s)$ is a polynomial with initial term $s^n-k$. Hence
                          beginalign
                          C&=sum_k=0^nnchoose k(xpartial_s+y)^k((n-k)!e^s)|_s=0\
                          &=sum_k=0^nnchoose k(x+y)^k((n-k)!e^s)|_s=0\
                          &=sum_k=0^nfracn!k!(x+y)^k.
                          endalign






                          share|cite|improve this answer












                          Here is an alternative proof of the Cauchy identity.



                          Fix constants $x$ and $y$ and consider $C=(xpartial_s+y+partial_spartial_t-partial_t)^n(e^se^t)|_s=t=0$.



                          Dealing with the $s$ terms and then $t$ terms gives
                          beginalign
                          C&=sum_k=0^nnchoose k(xpartial_s+partial_spartial_t)^k(y-partial_t)^n-k(e^se^t)|_s=t=0\
                          &=sum_k=0^nnchoose k(x+partial_t)^k(y-partial_t)^n-k(e^kt+se^t)|_s=t=0\
                          &=sum_k=0^nnchoose k(x+partial_t)^k(y-partial_t)^n-k(e^kt)|_t=0\
                          &=sum_k=0^nnchoose k(x+k)^k(y-k)^n-k(e^kt)|_t=0\
                          &=sum_k=0^nnchoose k(x+k)^k(y-k)^n-k.
                          endalign
                          The reverse order gives
                          beginalign
                          C&=sum_k=0^nnchoose k(xpartial_s+y)^k(partial_spartial_t-partial_t)^n-k(e^se^t)|_s=t=0\
                          &=sum_k=0^nnchoose k(xpartial_s+y)^k(partial_s-1)^n-k(p(s)e^s)|_s=0,
                          endalign
                          where $p(s)$ is a polynomial with initial term $s^n-k$. Hence
                          beginalign
                          C&=sum_k=0^nnchoose k(xpartial_s+y)^k((n-k)!e^s)|_s=0\
                          &=sum_k=0^nnchoose k(x+y)^k((n-k)!e^s)|_s=0\
                          &=sum_k=0^nfracn!k!(x+y)^k.
                          endalign







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Aug 21 at 22:38









                          MTyson

                          1,0911510




                          1,0911510











                          • How do you get $pleft(sright)$ and its initial term? And why does $left(partial_s-1right)^n-k$ take $pleft(sright)e^s$ to $left(n-kright)! e^s$ ?
                            – darij grinberg
                            Aug 22 at 22:03










                          • @darijgrinberg By induction, $partial_t^m e^se^t$ is a sum of terms of the form $q(s)e^kt+se^t$ for all $m$. There's exactly one term where the $partial_t$ pulled out an $s$ each time, so $p(s)$ has degree $n-k$ and leading coefficient $1$. For the latter point, note that $(partial_s-1)(p(s)e^s)=p'(s)e^s$.
                            – MTyson
                            Aug 22 at 22:23






                          • 1




                            Ah. Since I can't quite follow your "$partial_t$ pulled out an $s$" argument, let me re-argue your first claim in my language: For each $m geq 0$, there is a sequence $left(q_m,0, q_m,1, q_m,2, ldotsright)$ of univariate polynomials such that $partial^m_t e^se^t = sumlimits_k=0^infty q_m,kleft(sright) e^kt+se^t$, and such that $q_m,k = 0$ for all $k > m$. This is proven by induction on $m$, and this argument also shows that $q_m,k = k q_m-1,k + s q_m-1,k-1$ for all $m$ and $k$, where $q_m-1,k-1$ is understood to be $0$ if $k = 0$. This ...
                            – darij grinberg
                            Aug 23 at 0:15







                          • 1




                            ... recursive equation (along with the fact that $q_0,k$ is the Kronecker delta $delta_0,k$ for each $k geq 0$) determines the polynomials $q_m,k$ uniquely. Now, set $q_m = sumlimits_k=0^infty q_m,k$ for each $m geq 0$. It is then easy to see that $left(partial_t^m e^se^tright)mid_t=0 = q_mleft(sright)$. So we need to show that the leading term of $q_mleft(sright)$ is $s^m$. But this easily follows from the fact that ...
                            – darij grinberg
                            Aug 23 at 0:20







                          • 1




                            ... the polynomial $q_m,kleft(sright)$ equals $s^m$ when $k = m$ but is a linear combination of smaller powers of $s$ when $k neq m$. (This fact, in turn, can be proven by induction on $m$ using the above recurrence.)
                            – darij grinberg
                            Aug 23 at 0:24
















                          • How do you get $pleft(sright)$ and its initial term? And why does $left(partial_s-1right)^n-k$ take $pleft(sright)e^s$ to $left(n-kright)! e^s$ ?
                            – darij grinberg
                            Aug 22 at 22:03










                          • @darijgrinberg By induction, $partial_t^m e^se^t$ is a sum of terms of the form $q(s)e^kt+se^t$ for all $m$. There's exactly one term where the $partial_t$ pulled out an $s$ each time, so $p(s)$ has degree $n-k$ and leading coefficient $1$. For the latter point, note that $(partial_s-1)(p(s)e^s)=p'(s)e^s$.
                            – MTyson
                            Aug 22 at 22:23






                          • 1




                            Ah. Since I can't quite follow your "$partial_t$ pulled out an $s$" argument, let me re-argue your first claim in my language: For each $m geq 0$, there is a sequence $left(q_m,0, q_m,1, q_m,2, ldotsright)$ of univariate polynomials such that $partial^m_t e^se^t = sumlimits_k=0^infty q_m,kleft(sright) e^kt+se^t$, and such that $q_m,k = 0$ for all $k > m$. This is proven by induction on $m$, and this argument also shows that $q_m,k = k q_m-1,k + s q_m-1,k-1$ for all $m$ and $k$, where $q_m-1,k-1$ is understood to be $0$ if $k = 0$. This ...
                            – darij grinberg
                            Aug 23 at 0:15







                          • 1




                            ... recursive equation (along with the fact that $q_0,k$ is the Kronecker delta $delta_0,k$ for each $k geq 0$) determines the polynomials $q_m,k$ uniquely. Now, set $q_m = sumlimits_k=0^infty q_m,k$ for each $m geq 0$. It is then easy to see that $left(partial_t^m e^se^tright)mid_t=0 = q_mleft(sright)$. So we need to show that the leading term of $q_mleft(sright)$ is $s^m$. But this easily follows from the fact that ...
                            – darij grinberg
                            Aug 23 at 0:20







                          • 1




                            ... the polynomial $q_m,kleft(sright)$ equals $s^m$ when $k = m$ but is a linear combination of smaller powers of $s$ when $k neq m$. (This fact, in turn, can be proven by induction on $m$ using the above recurrence.)
                            – darij grinberg
                            Aug 23 at 0:24















                          How do you get $pleft(sright)$ and its initial term? And why does $left(partial_s-1right)^n-k$ take $pleft(sright)e^s$ to $left(n-kright)! e^s$ ?
                          – darij grinberg
                          Aug 22 at 22:03




                          How do you get $pleft(sright)$ and its initial term? And why does $left(partial_s-1right)^n-k$ take $pleft(sright)e^s$ to $left(n-kright)! e^s$ ?
                          – darij grinberg
                          Aug 22 at 22:03












                          @darijgrinberg By induction, $partial_t^m e^se^t$ is a sum of terms of the form $q(s)e^kt+se^t$ for all $m$. There's exactly one term where the $partial_t$ pulled out an $s$ each time, so $p(s)$ has degree $n-k$ and leading coefficient $1$. For the latter point, note that $(partial_s-1)(p(s)e^s)=p'(s)e^s$.
                          – MTyson
                          Aug 22 at 22:23




                          @darijgrinberg By induction, $partial_t^m e^se^t$ is a sum of terms of the form $q(s)e^kt+se^t$ for all $m$. There's exactly one term where the $partial_t$ pulled out an $s$ each time, so $p(s)$ has degree $n-k$ and leading coefficient $1$. For the latter point, note that $(partial_s-1)(p(s)e^s)=p'(s)e^s$.
                          – MTyson
                          Aug 22 at 22:23




                          1




                          1




                          Ah. Since I can't quite follow your "$partial_t$ pulled out an $s$" argument, let me re-argue your first claim in my language: For each $m geq 0$, there is a sequence $left(q_m,0, q_m,1, q_m,2, ldotsright)$ of univariate polynomials such that $partial^m_t e^se^t = sumlimits_k=0^infty q_m,kleft(sright) e^kt+se^t$, and such that $q_m,k = 0$ for all $k > m$. This is proven by induction on $m$, and this argument also shows that $q_m,k = k q_m-1,k + s q_m-1,k-1$ for all $m$ and $k$, where $q_m-1,k-1$ is understood to be $0$ if $k = 0$. This ...
                          – darij grinberg
                          Aug 23 at 0:15





                          Ah. Since I can't quite follow your "$partial_t$ pulled out an $s$" argument, let me re-argue your first claim in my language: For each $m geq 0$, there is a sequence $left(q_m,0, q_m,1, q_m,2, ldotsright)$ of univariate polynomials such that $partial^m_t e^se^t = sumlimits_k=0^infty q_m,kleft(sright) e^kt+se^t$, and such that $q_m,k = 0$ for all $k > m$. This is proven by induction on $m$, and this argument also shows that $q_m,k = k q_m-1,k + s q_m-1,k-1$ for all $m$ and $k$, where $q_m-1,k-1$ is understood to be $0$ if $k = 0$. This ...
                          – darij grinberg
                          Aug 23 at 0:15





                          1




                          1




                          ... recursive equation (along with the fact that $q_0,k$ is the Kronecker delta $delta_0,k$ for each $k geq 0$) determines the polynomials $q_m,k$ uniquely. Now, set $q_m = sumlimits_k=0^infty q_m,k$ for each $m geq 0$. It is then easy to see that $left(partial_t^m e^se^tright)mid_t=0 = q_mleft(sright)$. So we need to show that the leading term of $q_mleft(sright)$ is $s^m$. But this easily follows from the fact that ...
                          – darij grinberg
                          Aug 23 at 0:20





                          ... recursive equation (along with the fact that $q_0,k$ is the Kronecker delta $delta_0,k$ for each $k geq 0$) determines the polynomials $q_m,k$ uniquely. Now, set $q_m = sumlimits_k=0^infty q_m,k$ for each $m geq 0$. It is then easy to see that $left(partial_t^m e^se^tright)mid_t=0 = q_mleft(sright)$. So we need to show that the leading term of $q_mleft(sright)$ is $s^m$. But this easily follows from the fact that ...
                          – darij grinberg
                          Aug 23 at 0:20





                          1




                          1




                          ... the polynomial $q_m,kleft(sright)$ equals $s^m$ when $k = m$ but is a linear combination of smaller powers of $s$ when $k neq m$. (This fact, in turn, can be proven by induction on $m$ using the above recurrence.)
                          – darij grinberg
                          Aug 23 at 0:24




                          ... the polynomial $q_m,kleft(sright)$ equals $s^m$ when $k = m$ but is a linear combination of smaller powers of $s$ when $k neq m$. (This fact, in turn, can be proven by induction on $m$ using the above recurrence.)
                          – darij grinberg
                          Aug 23 at 0:24










                          up vote
                          5
                          down vote













                          A standard approach to proving this kind of identity is to use differences of polynomials.



                          First note that if change the limits on both sums to 0 and $n$, then we add two terms on the left and two terms on the right, and each of the four additional terms is equal to $n^n$. So we may instead prove the modified identity in which each sum goes from 0 to $n$.



                          We have
                          $$
                          beginaligned
                          sum_i=0^n binom ni i^i (n-i)^n-i&=sum_i=0^n binom ni i^i sum_j=0^n-i binomn-ij n^j (-i)^n-i-j\
                          &=sum_j=0^n binom nj n^j sum_i=0^n-j(-1)^n-i-jbinomn-jii^n-j.endaligned
                          $$
                          The inner sum on the right is the $(n-j)$th difference of a polynomial in $i$ of degree $n-j$ with leading coefficient 1, and is therefore equal to $(n-j)!$. Thus the sum is equal to
                          $$
                          sum_j binom nj n^j (n-j)! = sum_i=0^n binom ni i!, n^n-i.
                          $$






                          share|cite|improve this answer
























                            up vote
                            5
                            down vote













                            A standard approach to proving this kind of identity is to use differences of polynomials.



                            First note that if change the limits on both sums to 0 and $n$, then we add two terms on the left and two terms on the right, and each of the four additional terms is equal to $n^n$. So we may instead prove the modified identity in which each sum goes from 0 to $n$.



                            We have
                            $$
                            beginaligned
                            sum_i=0^n binom ni i^i (n-i)^n-i&=sum_i=0^n binom ni i^i sum_j=0^n-i binomn-ij n^j (-i)^n-i-j\
                            &=sum_j=0^n binom nj n^j sum_i=0^n-j(-1)^n-i-jbinomn-jii^n-j.endaligned
                            $$
                            The inner sum on the right is the $(n-j)$th difference of a polynomial in $i$ of degree $n-j$ with leading coefficient 1, and is therefore equal to $(n-j)!$. Thus the sum is equal to
                            $$
                            sum_j binom nj n^j (n-j)! = sum_i=0^n binom ni i!, n^n-i.
                            $$






                            share|cite|improve this answer






















                              up vote
                              5
                              down vote










                              up vote
                              5
                              down vote









                              A standard approach to proving this kind of identity is to use differences of polynomials.



                              First note that if change the limits on both sums to 0 and $n$, then we add two terms on the left and two terms on the right, and each of the four additional terms is equal to $n^n$. So we may instead prove the modified identity in which each sum goes from 0 to $n$.



                              We have
                              $$
                              beginaligned
                              sum_i=0^n binom ni i^i (n-i)^n-i&=sum_i=0^n binom ni i^i sum_j=0^n-i binomn-ij n^j (-i)^n-i-j\
                              &=sum_j=0^n binom nj n^j sum_i=0^n-j(-1)^n-i-jbinomn-jii^n-j.endaligned
                              $$
                              The inner sum on the right is the $(n-j)$th difference of a polynomial in $i$ of degree $n-j$ with leading coefficient 1, and is therefore equal to $(n-j)!$. Thus the sum is equal to
                              $$
                              sum_j binom nj n^j (n-j)! = sum_i=0^n binom ni i!, n^n-i.
                              $$






                              share|cite|improve this answer












                              A standard approach to proving this kind of identity is to use differences of polynomials.



                              First note that if change the limits on both sums to 0 and $n$, then we add two terms on the left and two terms on the right, and each of the four additional terms is equal to $n^n$. So we may instead prove the modified identity in which each sum goes from 0 to $n$.



                              We have
                              $$
                              beginaligned
                              sum_i=0^n binom ni i^i (n-i)^n-i&=sum_i=0^n binom ni i^i sum_j=0^n-i binomn-ij n^j (-i)^n-i-j\
                              &=sum_j=0^n binom nj n^j sum_i=0^n-j(-1)^n-i-jbinomn-jii^n-j.endaligned
                              $$
                              The inner sum on the right is the $(n-j)$th difference of a polynomial in $i$ of degree $n-j$ with leading coefficient 1, and is therefore equal to $(n-j)!$. Thus the sum is equal to
                              $$
                              sum_j binom nj n^j (n-j)! = sum_i=0^n binom ni i!, n^n-i.
                              $$







                              share|cite|improve this answer












                              share|cite|improve this answer



                              share|cite|improve this answer










                              answered Aug 23 at 20:35









                              Ira Gessel

                              8,1192539




                              8,1192539




















                                  up vote
                                  4
                                  down vote













                                  Similar questions can also be dealt with using generating functions and Lagrange inversion.



                                  Let $T(z)$ (the "tree function") be the formal power series satisfying $T(z)=z,e^T(z)$.



                                  If $F$ is a formal power series the coefficients of $G(z):=F(T(z))$ are given by (Lagrange inversion)
                                  $$[z^0]G(z)=[z^0] F(z) mbox , [z^k]G(z)=tfrac1k [y^k-1] F^prime(y),e^ky =[y^k](1-y)F(y),e^kymbox for kgeq 1;.$$
                                  In particular

                                  $$T(z)=sum_ngeq 1fracn^n-1n!z^n ;mbox and ;
                                  fracT(z)1-T(z)=sum_ngeq 1fracn^nn!z^n$$
                                  When you divide the rhs of your equation above by $n!$ you clearly get the $n$-th coefficient of the convolution of the series $a_0:=0, a_k:=frack^kk!;;kgeq 1$ (i.e. the coefficients of $T(z) over 1-T(z)$) with itself.



                                  Therefore
                                  beginalign*sum_i=1^n-1 n choose i i^i(n-i)^n-i&=n!,[z^n] bigg(T(z) over 1-T(z)bigg)^2\
                                  &=n!,[y^n] (1-y) y^2 over (1-y)^2,e^ny\
                                  &=n!,[y^n-2] e^ny over 1-y=n!sum_i=0^n-2n^i over i!
                                  endalign*
                                  which is what you want.



                                  Remark: the exponential generating function $big(T(z) over 1-T(z)big)^2$ for the rhs was already given by Vladeta Jovovic in the notes to A001864 - OEIS






                                  share|cite|improve this answer
























                                    up vote
                                    4
                                    down vote













                                    Similar questions can also be dealt with using generating functions and Lagrange inversion.



                                    Let $T(z)$ (the "tree function") be the formal power series satisfying $T(z)=z,e^T(z)$.



                                    If $F$ is a formal power series the coefficients of $G(z):=F(T(z))$ are given by (Lagrange inversion)
                                    $$[z^0]G(z)=[z^0] F(z) mbox , [z^k]G(z)=tfrac1k [y^k-1] F^prime(y),e^ky =[y^k](1-y)F(y),e^kymbox for kgeq 1;.$$
                                    In particular

                                    $$T(z)=sum_ngeq 1fracn^n-1n!z^n ;mbox and ;
                                    fracT(z)1-T(z)=sum_ngeq 1fracn^nn!z^n$$
                                    When you divide the rhs of your equation above by $n!$ you clearly get the $n$-th coefficient of the convolution of the series $a_0:=0, a_k:=frack^kk!;;kgeq 1$ (i.e. the coefficients of $T(z) over 1-T(z)$) with itself.



                                    Therefore
                                    beginalign*sum_i=1^n-1 n choose i i^i(n-i)^n-i&=n!,[z^n] bigg(T(z) over 1-T(z)bigg)^2\
                                    &=n!,[y^n] (1-y) y^2 over (1-y)^2,e^ny\
                                    &=n!,[y^n-2] e^ny over 1-y=n!sum_i=0^n-2n^i over i!
                                    endalign*
                                    which is what you want.



                                    Remark: the exponential generating function $big(T(z) over 1-T(z)big)^2$ for the rhs was already given by Vladeta Jovovic in the notes to A001864 - OEIS






                                    share|cite|improve this answer






















                                      up vote
                                      4
                                      down vote










                                      up vote
                                      4
                                      down vote









                                      Similar questions can also be dealt with using generating functions and Lagrange inversion.



                                      Let $T(z)$ (the "tree function") be the formal power series satisfying $T(z)=z,e^T(z)$.



                                      If $F$ is a formal power series the coefficients of $G(z):=F(T(z))$ are given by (Lagrange inversion)
                                      $$[z^0]G(z)=[z^0] F(z) mbox , [z^k]G(z)=tfrac1k [y^k-1] F^prime(y),e^ky =[y^k](1-y)F(y),e^kymbox for kgeq 1;.$$
                                      In particular

                                      $$T(z)=sum_ngeq 1fracn^n-1n!z^n ;mbox and ;
                                      fracT(z)1-T(z)=sum_ngeq 1fracn^nn!z^n$$
                                      When you divide the rhs of your equation above by $n!$ you clearly get the $n$-th coefficient of the convolution of the series $a_0:=0, a_k:=frack^kk!;;kgeq 1$ (i.e. the coefficients of $T(z) over 1-T(z)$) with itself.



                                      Therefore
                                      beginalign*sum_i=1^n-1 n choose i i^i(n-i)^n-i&=n!,[z^n] bigg(T(z) over 1-T(z)bigg)^2\
                                      &=n!,[y^n] (1-y) y^2 over (1-y)^2,e^ny\
                                      &=n!,[y^n-2] e^ny over 1-y=n!sum_i=0^n-2n^i over i!
                                      endalign*
                                      which is what you want.



                                      Remark: the exponential generating function $big(T(z) over 1-T(z)big)^2$ for the rhs was already given by Vladeta Jovovic in the notes to A001864 - OEIS






                                      share|cite|improve this answer












                                      Similar questions can also be dealt with using generating functions and Lagrange inversion.



                                      Let $T(z)$ (the "tree function") be the formal power series satisfying $T(z)=z,e^T(z)$.



                                      If $F$ is a formal power series the coefficients of $G(z):=F(T(z))$ are given by (Lagrange inversion)
                                      $$[z^0]G(z)=[z^0] F(z) mbox , [z^k]G(z)=tfrac1k [y^k-1] F^prime(y),e^ky =[y^k](1-y)F(y),e^kymbox for kgeq 1;.$$
                                      In particular

                                      $$T(z)=sum_ngeq 1fracn^n-1n!z^n ;mbox and ;
                                      fracT(z)1-T(z)=sum_ngeq 1fracn^nn!z^n$$
                                      When you divide the rhs of your equation above by $n!$ you clearly get the $n$-th coefficient of the convolution of the series $a_0:=0, a_k:=frack^kk!;;kgeq 1$ (i.e. the coefficients of $T(z) over 1-T(z)$) with itself.



                                      Therefore
                                      beginalign*sum_i=1^n-1 n choose i i^i(n-i)^n-i&=n!,[z^n] bigg(T(z) over 1-T(z)bigg)^2\
                                      &=n!,[y^n] (1-y) y^2 over (1-y)^2,e^ny\
                                      &=n!,[y^n-2] e^ny over 1-y=n!sum_i=0^n-2n^i over i!
                                      endalign*
                                      which is what you want.



                                      Remark: the exponential generating function $big(T(z) over 1-T(z)big)^2$ for the rhs was already given by Vladeta Jovovic in the notes to A001864 - OEIS







                                      share|cite|improve this answer












                                      share|cite|improve this answer



                                      share|cite|improve this answer










                                      answered Aug 22 at 18:59









                                      esg

                                      1,51647




                                      1,51647




















                                          up vote
                                          1
                                          down vote













                                          Here is an alternative.



                                          Define the functions $A_n(t)=sum_kbinomnkt(t+k)^k-1(n-k)^n-k, B_n(t)=sum_kfracn!(n-k)!(t+n)^n-k$ and
                                          $C_n(t)=sum_kbinomnk(t+k)^k(n-k)^n-k$.



                                          From $(t+k)^k=t(t+k)^k-1+k(t+k)^k-1$ and on the basis of Abel's identity,
                                          one gets $C_n(t)=A_n(t)+nC_n-1(t+1)=(t+n)^n+nC_n-1(t+1)$. It is easy to check that $B_n(t)=(t+n)^n+nB_n-1(t+1)$. Since both $B_n$
                                          and $C_n$ satisfy the same initial conditions, it follows $B_n(t)=C_n(t)$. So, $B_n(0)=C_n(0)$ gives the desired result.






                                          share|cite|improve this answer
























                                            up vote
                                            1
                                            down vote













                                            Here is an alternative.



                                            Define the functions $A_n(t)=sum_kbinomnkt(t+k)^k-1(n-k)^n-k, B_n(t)=sum_kfracn!(n-k)!(t+n)^n-k$ and
                                            $C_n(t)=sum_kbinomnk(t+k)^k(n-k)^n-k$.



                                            From $(t+k)^k=t(t+k)^k-1+k(t+k)^k-1$ and on the basis of Abel's identity,
                                            one gets $C_n(t)=A_n(t)+nC_n-1(t+1)=(t+n)^n+nC_n-1(t+1)$. It is easy to check that $B_n(t)=(t+n)^n+nB_n-1(t+1)$. Since both $B_n$
                                            and $C_n$ satisfy the same initial conditions, it follows $B_n(t)=C_n(t)$. So, $B_n(0)=C_n(0)$ gives the desired result.






                                            share|cite|improve this answer






















                                              up vote
                                              1
                                              down vote










                                              up vote
                                              1
                                              down vote









                                              Here is an alternative.



                                              Define the functions $A_n(t)=sum_kbinomnkt(t+k)^k-1(n-k)^n-k, B_n(t)=sum_kfracn!(n-k)!(t+n)^n-k$ and
                                              $C_n(t)=sum_kbinomnk(t+k)^k(n-k)^n-k$.



                                              From $(t+k)^k=t(t+k)^k-1+k(t+k)^k-1$ and on the basis of Abel's identity,
                                              one gets $C_n(t)=A_n(t)+nC_n-1(t+1)=(t+n)^n+nC_n-1(t+1)$. It is easy to check that $B_n(t)=(t+n)^n+nB_n-1(t+1)$. Since both $B_n$
                                              and $C_n$ satisfy the same initial conditions, it follows $B_n(t)=C_n(t)$. So, $B_n(0)=C_n(0)$ gives the desired result.






                                              share|cite|improve this answer












                                              Here is an alternative.



                                              Define the functions $A_n(t)=sum_kbinomnkt(t+k)^k-1(n-k)^n-k, B_n(t)=sum_kfracn!(n-k)!(t+n)^n-k$ and
                                              $C_n(t)=sum_kbinomnk(t+k)^k(n-k)^n-k$.



                                              From $(t+k)^k=t(t+k)^k-1+k(t+k)^k-1$ and on the basis of Abel's identity,
                                              one gets $C_n(t)=A_n(t)+nC_n-1(t+1)=(t+n)^n+nC_n-1(t+1)$. It is easy to check that $B_n(t)=(t+n)^n+nB_n-1(t+1)$. Since both $B_n$
                                              and $C_n$ satisfy the same initial conditions, it follows $B_n(t)=C_n(t)$. So, $B_n(0)=C_n(0)$ gives the desired result.







                                              share|cite|improve this answer












                                              share|cite|improve this answer



                                              share|cite|improve this answer










                                              answered Aug 25 at 1:28









                                              T. Amdeberhan

                                              15.8k225119




                                              15.8k225119



























                                                   

                                                  draft saved


                                                  draft discarded















































                                                   


                                                  draft saved


                                                  draft discarded














                                                  StackExchange.ready(
                                                  function ()
                                                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathoverflow.net%2fquestions%2f308819%2fproof-of-a-combinatorial-equation%23new-answer', 'question_page');

                                                  );

                                                  Post as a guest













































































                                                  Popular posts from this blog

                                                  How to check contact read email or not when send email to Individual?

                                                  Bahrain

                                                  Postfix configuration issue with fips on centos 7; mailgun relay