the coefficient of $ x^n-1$ in $(x+3)^n+(x+3)^n-1(x+2)+(x+3)^n-2(x+2)^2cdots(x+2)^n$ The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to solve $binomn1^2+2binomn2^2 + 3binomn3^2 + 4binomn4^2+cdots + nbinomnn^2$?A problem with my reasoning in a problem about combinationsPicking two committees from $n$ people where $n$ is greater or equal to $6$Intuitive explanation of binomial coefficient formulaCounting arguments Given one prove the other identityThe index 'n' of binomial $(fracx5+frac25)^n$ if the 9th term has numerically the greatest coefficientFinding the value of $sumfrac2r+3r+1binomnr$Rewriting polygamma in the derivative of binomial coefficientMaking a committeeCalculate central q-Binomial coefficient

Intergalactic human space ship encounters another ship, character gets shunted off beyond known universe, reality starts collapsing

How to make Illustrator type tool selection automatically adapt with text length

What's the point in a preamp?

What aspect of planet Earth must be changed to prevent the industrial revolution?

Word for: a synonym with a positive connotation?

What happens to a Warlock's expended Spell Slots when they gain a Level?

Is there a way to generate uniformly distributed points on a sphere from a fixed amount of random real numbers per point?

How to determine omitted units in a publication

Is 'stolen' appropriate word?

Example of compact Riemannian manifold with only one geodesic.

Presidential Pardon

Is there a writing software that you can sort scenes like slides in PowerPoint?

Make it rain characters

How do spell lists change if the party levels up without taking a long rest?

How do you keep chess fun when your opponent constantly beats you?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

Single author papers against my advisor's will?

Could an empire control the whole planet with today's comunication methods?

Why doesn't a hydraulic lever violate conservation of energy?

Store Dynamic-accessible hidden metadata in a cell

should truth entail possible truth

Do working physicists consider Newtonian mechanics to be "falsified"?

What other Star Trek series did the main TNG cast show up in?

Can the Right Ascension and Argument of Perigee of a spacecraft's orbit keep varying by themselves with time?



the coefficient of $ x^n-1$ in $(x+3)^n+(x+3)^n-1(x+2)+(x+3)^n-2(x+2)^2cdots(x+2)^n$



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to solve $binomn1^2+2binomn2^2 + 3binomn3^2 + 4binomn4^2+cdots + nbinomnn^2$?A problem with my reasoning in a problem about combinationsPicking two committees from $n$ people where $n$ is greater or equal to $6$Intuitive explanation of binomial coefficient formulaCounting arguments Given one prove the other identityThe index 'n' of binomial $(fracx5+frac25)^n$ if the 9th term has numerically the greatest coefficientFinding the value of $sumfrac2r+3r+1binomnr$Rewriting polygamma in the derivative of binomial coefficientMaking a committeeCalculate central q-Binomial coefficient










1












$begingroup$



Find the coefficient of $ x^n-1$ in:

$ \ (x+3)^n+(x+3)^n-1(x+2)+(x+3)^n-2(x+2)^2cdots+(x+2)^n$




My Approach:

$(x+3)^n+(x+3)^n-1(x+2)+(x+3)^n-2(x+2)^2cdots+(x+2)^n=sum(x+3)^n-r(x+2)^r$

For each term of this summation:
we have to calculate the number of ways of choosing one (x+a) for which we would multiply the 'a' and not the 'x' part. They can be chosen in $binomn-r1+binomr1$ ways. In case the chosen is (x-3) the coefficient of $x^n-1$ would be 3 else it would be 2. Hence the coefficient of $x^n-1$ for the general term would be $3binomn-r1+2binomr1$.



This simplifies to $3(n-r)+2r=3n-r$. The coefficient of $x^n-1$ in the summation is $sum_0^n 3n-sum_r=0^nn r=3n^2-fracn(n+1)2=frac6n^2-n^2-n2=frac5n^2-n2$.



The answer given is $5binomn+12$ but I can't figure out what the error is in this logic. It would be great if someone could help me answer this question.










share|cite|improve this question











$endgroup$
















    1












    $begingroup$



    Find the coefficient of $ x^n-1$ in:

    $ \ (x+3)^n+(x+3)^n-1(x+2)+(x+3)^n-2(x+2)^2cdots+(x+2)^n$




    My Approach:

    $(x+3)^n+(x+3)^n-1(x+2)+(x+3)^n-2(x+2)^2cdots+(x+2)^n=sum(x+3)^n-r(x+2)^r$

    For each term of this summation:
    we have to calculate the number of ways of choosing one (x+a) for which we would multiply the 'a' and not the 'x' part. They can be chosen in $binomn-r1+binomr1$ ways. In case the chosen is (x-3) the coefficient of $x^n-1$ would be 3 else it would be 2. Hence the coefficient of $x^n-1$ for the general term would be $3binomn-r1+2binomr1$.



    This simplifies to $3(n-r)+2r=3n-r$. The coefficient of $x^n-1$ in the summation is $sum_0^n 3n-sum_r=0^nn r=3n^2-fracn(n+1)2=frac6n^2-n^2-n2=frac5n^2-n2$.



    The answer given is $5binomn+12$ but I can't figure out what the error is in this logic. It would be great if someone could help me answer this question.










    share|cite|improve this question











    $endgroup$














      1












      1








      1





      $begingroup$



      Find the coefficient of $ x^n-1$ in:

      $ \ (x+3)^n+(x+3)^n-1(x+2)+(x+3)^n-2(x+2)^2cdots+(x+2)^n$




      My Approach:

      $(x+3)^n+(x+3)^n-1(x+2)+(x+3)^n-2(x+2)^2cdots+(x+2)^n=sum(x+3)^n-r(x+2)^r$

      For each term of this summation:
      we have to calculate the number of ways of choosing one (x+a) for which we would multiply the 'a' and not the 'x' part. They can be chosen in $binomn-r1+binomr1$ ways. In case the chosen is (x-3) the coefficient of $x^n-1$ would be 3 else it would be 2. Hence the coefficient of $x^n-1$ for the general term would be $3binomn-r1+2binomr1$.



      This simplifies to $3(n-r)+2r=3n-r$. The coefficient of $x^n-1$ in the summation is $sum_0^n 3n-sum_r=0^nn r=3n^2-fracn(n+1)2=frac6n^2-n^2-n2=frac5n^2-n2$.



      The answer given is $5binomn+12$ but I can't figure out what the error is in this logic. It would be great if someone could help me answer this question.










      share|cite|improve this question











      $endgroup$





      Find the coefficient of $ x^n-1$ in:

      $ \ (x+3)^n+(x+3)^n-1(x+2)+(x+3)^n-2(x+2)^2cdots+(x+2)^n$




      My Approach:

      $(x+3)^n+(x+3)^n-1(x+2)+(x+3)^n-2(x+2)^2cdots+(x+2)^n=sum(x+3)^n-r(x+2)^r$

      For each term of this summation:
      we have to calculate the number of ways of choosing one (x+a) for which we would multiply the 'a' and not the 'x' part. They can be chosen in $binomn-r1+binomr1$ ways. In case the chosen is (x-3) the coefficient of $x^n-1$ would be 3 else it would be 2. Hence the coefficient of $x^n-1$ for the general term would be $3binomn-r1+2binomr1$.



      This simplifies to $3(n-r)+2r=3n-r$. The coefficient of $x^n-1$ in the summation is $sum_0^n 3n-sum_r=0^nn r=3n^2-fracn(n+1)2=frac6n^2-n^2-n2=frac5n^2-n2$.



      The answer given is $5binomn+12$ but I can't figure out what the error is in this logic. It would be great if someone could help me answer this question.







      binomial-coefficients combinations binomial-theorem






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Feb 20 '17 at 11:44







      Osheen Sachdev

















      asked Feb 20 '17 at 11:32









      Osheen SachdevOsheen Sachdev

      1,23021641




      1,23021641




















          1 Answer
          1






          active

          oldest

          votes


















          3












          $begingroup$

          It is easier to simplify the given expression by using formula $$a^r-1+a^r-2b+cdots+ab^r-2 +b^r-1=fraca^r-b^ra-b$$ which is easily proved by multiplying both sides of the equation by $a-b$. Here we have $r=n+1,a=x+3,b=x+2$ and hence the expression simplifies to $(x+3)^n+1-(x+2)^n+1$ and the desired coefficient is $$binomn+12(3^2-2^2)=5binomn+12$$




          You had your approach correct but you made a calculation mistake while calculating the sum $sum_r=0^n3n$ which should evaluate to $3n(n+1)$ but you wrote $3n^2$.






          share|cite|improve this answer









          $endgroup$












          • $begingroup$
            This is my way :)
            $endgroup$
            – lab bhattacharjee
            Feb 20 '17 at 12:22











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



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2152785%2fthe-coefficient-of-xn-1-in-x3nx3n-1x2x3n-2x22-cd%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3












          $begingroup$

          It is easier to simplify the given expression by using formula $$a^r-1+a^r-2b+cdots+ab^r-2 +b^r-1=fraca^r-b^ra-b$$ which is easily proved by multiplying both sides of the equation by $a-b$. Here we have $r=n+1,a=x+3,b=x+2$ and hence the expression simplifies to $(x+3)^n+1-(x+2)^n+1$ and the desired coefficient is $$binomn+12(3^2-2^2)=5binomn+12$$




          You had your approach correct but you made a calculation mistake while calculating the sum $sum_r=0^n3n$ which should evaluate to $3n(n+1)$ but you wrote $3n^2$.






          share|cite|improve this answer









          $endgroup$












          • $begingroup$
            This is my way :)
            $endgroup$
            – lab bhattacharjee
            Feb 20 '17 at 12:22















          3












          $begingroup$

          It is easier to simplify the given expression by using formula $$a^r-1+a^r-2b+cdots+ab^r-2 +b^r-1=fraca^r-b^ra-b$$ which is easily proved by multiplying both sides of the equation by $a-b$. Here we have $r=n+1,a=x+3,b=x+2$ and hence the expression simplifies to $(x+3)^n+1-(x+2)^n+1$ and the desired coefficient is $$binomn+12(3^2-2^2)=5binomn+12$$




          You had your approach correct but you made a calculation mistake while calculating the sum $sum_r=0^n3n$ which should evaluate to $3n(n+1)$ but you wrote $3n^2$.






          share|cite|improve this answer









          $endgroup$












          • $begingroup$
            This is my way :)
            $endgroup$
            – lab bhattacharjee
            Feb 20 '17 at 12:22













          3












          3








          3





          $begingroup$

          It is easier to simplify the given expression by using formula $$a^r-1+a^r-2b+cdots+ab^r-2 +b^r-1=fraca^r-b^ra-b$$ which is easily proved by multiplying both sides of the equation by $a-b$. Here we have $r=n+1,a=x+3,b=x+2$ and hence the expression simplifies to $(x+3)^n+1-(x+2)^n+1$ and the desired coefficient is $$binomn+12(3^2-2^2)=5binomn+12$$




          You had your approach correct but you made a calculation mistake while calculating the sum $sum_r=0^n3n$ which should evaluate to $3n(n+1)$ but you wrote $3n^2$.






          share|cite|improve this answer









          $endgroup$



          It is easier to simplify the given expression by using formula $$a^r-1+a^r-2b+cdots+ab^r-2 +b^r-1=fraca^r-b^ra-b$$ which is easily proved by multiplying both sides of the equation by $a-b$. Here we have $r=n+1,a=x+3,b=x+2$ and hence the expression simplifies to $(x+3)^n+1-(x+2)^n+1$ and the desired coefficient is $$binomn+12(3^2-2^2)=5binomn+12$$




          You had your approach correct but you made a calculation mistake while calculating the sum $sum_r=0^n3n$ which should evaluate to $3n(n+1)$ but you wrote $3n^2$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Feb 20 '17 at 11:59









          Paramanand SinghParamanand Singh

          51.4k560170




          51.4k560170











          • $begingroup$
            This is my way :)
            $endgroup$
            – lab bhattacharjee
            Feb 20 '17 at 12:22
















          • $begingroup$
            This is my way :)
            $endgroup$
            – lab bhattacharjee
            Feb 20 '17 at 12:22















          $begingroup$
          This is my way :)
          $endgroup$
          – lab bhattacharjee
          Feb 20 '17 at 12:22




          $begingroup$
          This is my way :)
          $endgroup$
          – lab bhattacharjee
          Feb 20 '17 at 12:22

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Mathematics Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2152785%2fthe-coefficient-of-xn-1-in-x3nx3n-1x2x3n-2x22-cd%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

          Triangular numbers and gcdProving sum of a set is $0 pmod n$ if $n$ is odd, or $fracn2 pmod n$ if $n$ is even?Is greatest common divisor of two numbers really their smallest linear combination?GCD, LCM RelationshipProve a set of nonnegative integers with greatest common divisor 1 and closed under addition has all but finite many nonnegative integers.all pairs of a and b in an equation containing gcdTriangular Numbers Modulo $k$ - Hit All Values?Understanding the Existence and Uniqueness of the GCDGCD and LCM with logical symbolsThe greatest common divisor of two positive integers less than 100 is equal to 3. Their least common multiple is twelve times one of the integers.Suppose that for all integers $x$, $x|a$ and $x|b$ if and only if $x|c$. Then $c = gcd(a,b)$Which is the gcd of 2 numbers which are multiplied and the result is 600000?

          Ingelân Ynhâld Etymology | Geografy | Skiednis | Polityk en bestjoer | Ekonomy | Demografy | Kultuer | Klimaat | Sjoch ek | Keppelings om utens | Boarnen, noaten en referinsjes Navigaasjemenuwww.gov.ukOffisjele webside fan it regear fan it Feriene KeninkrykOffisjele webside fan it Britske FerkearsburoNederlânsktalige ynformaasje fan it Britske FerkearsburoOffisjele webside fan English Heritage, de organisaasje dy't him ynset foar it behâld fan it Ingelske kultuergoedYnwennertallen fan alle Britske stêden út 'e folkstelling fan 2011Notes en References, op dizze sideEngland

          Հադիս Բովանդակություն Անվանում և նշանակություն | Դասակարգում | Աղբյուրներ | Նավարկման ցանկ