combinatorics floor summationProof that $sum_k=0^m binommkfrac1k+1 = frac2^m+1-1m+1$Summation involving binomial coefficients: $sum_i=0^100 binom3003i$summation combinatoric again with floor functionProof of the binomial identity $displaystylebinommn=sum_k=0^lfloor n/2 rfloor 2^1-delta_k,n-k binomm/2k binomm/2n-k$Proof/derivation of $limlimits_ntoinftyfrac12^nsumlimits_k=0^nbinomnkfracan+bkcn+dkstackrel?=frac2a+b2c+d$?How to find documentation for or a proof of the following known binomial identityEvaluate summation combinatoricsWeird Combinatorial IdentitiyProve the following by two different methods, one combinatorial and one algebraicFind $sum_k=0^n4^k binomnk$

What is a ^ b and (a & b) << 1?

Do the common programs (for example: "ls", "cat") in Linux and BSD come from the same source code?

I got the following comment from a reputed math journal. What does it mean?

Adventure Game (text based) in C++

How to write cleanly even if my character uses expletive language?

The German vowel “a” changes to the English “i”

PTIJ: Who should I vote for? (21st Knesset Edition)

"of which" is correct here?

What is the significance behind "40 days" that often appears in the Bible?

What is the adequate fee for a reveal operation?

Problem with FindRoot

Do I need to be arrogant to get ahead?

How to explain that I do not want to visit a country due to personal safety concern?

Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?

As a new Ubuntu desktop 18.04 LTS user, do I need to use ufw for a firewall or is iptables sufficient?

Instead of a Universal Basic Income program, why not implement a "Universal Basic Needs" program?

How to deal with taxi scam when on vacation?

Python if-else code style for reduced code for rounding floats

Is a party consisting of only a bard, a cleric, and a warlock functional long-term?

How do I hide Chekhov's Gun?

Is there a hypothetical scenario that would make Earth uninhabitable for humans, but not for (the majority of) other animals?

Happy pi day, everyone!

Why is the President allowed to veto a cancellation of emergency powers?

Why does energy conservation give me the wrong answer in this inelastic collision problem?



combinatorics floor summation


Proof that $sum_k=0^m binommkfrac1k+1 = frac2^m+1-1m+1$Summation involving binomial coefficients: $sum_i=0^100 binom3003i$summation combinatoric again with floor functionProof of the binomial identity $displaystylebinommn=sum_k=0^lfloor n/2 rfloor 2^1-delta_k,n-k binomm/2k binomm/2n-k$Proof/derivation of $limlimits_ntoinftyfrac12^nsumlimits_k=0^nbinomnkfracan+bkcn+dkstackrel?=frac2a+b2c+d$?How to find documentation for or a proof of the following known binomial identityEvaluate summation combinatoricsWeird Combinatorial IdentitiyProve the following by two different methods, one combinatorial and one algebraicFind $sum_k=0^n4^k binomnk$













2












$begingroup$


While solving a problem I came across a rather interesting identity, and I do not see how I could prove it.



$sum_i=0^floor(fracn2) binomn2ip^2i(1-p)^n-2i = frac12((2p-1)^n+1)$



Any ideas?










share|cite|improve this question









New contributor




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







$endgroup$







  • 1




    $begingroup$
    Flip $n$ coins each having probability $p$ of landing heads. The lefthand side is the probability of flipping an even number of heads. I don't immediately see how the righthand side calculates the same probability.
    $endgroup$
    – Austin Mohr
    1 hour ago






  • 1




    $begingroup$
    I believe you have a mistake: the RHS should be $frac12((1-2p)^n+1)$.
    $endgroup$
    – Mike Earnest
    53 mins ago















2












$begingroup$


While solving a problem I came across a rather interesting identity, and I do not see how I could prove it.



$sum_i=0^floor(fracn2) binomn2ip^2i(1-p)^n-2i = frac12((2p-1)^n+1)$



Any ideas?










share|cite|improve this question









New contributor




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







$endgroup$







  • 1




    $begingroup$
    Flip $n$ coins each having probability $p$ of landing heads. The lefthand side is the probability of flipping an even number of heads. I don't immediately see how the righthand side calculates the same probability.
    $endgroup$
    – Austin Mohr
    1 hour ago






  • 1




    $begingroup$
    I believe you have a mistake: the RHS should be $frac12((1-2p)^n+1)$.
    $endgroup$
    – Mike Earnest
    53 mins ago













2












2








2





$begingroup$


While solving a problem I came across a rather interesting identity, and I do not see how I could prove it.



$sum_i=0^floor(fracn2) binomn2ip^2i(1-p)^n-2i = frac12((2p-1)^n+1)$



Any ideas?










share|cite|improve this question









New contributor




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







$endgroup$




While solving a problem I came across a rather interesting identity, and I do not see how I could prove it.



$sum_i=0^floor(fracn2) binomn2ip^2i(1-p)^n-2i = frac12((2p-1)^n+1)$



Any ideas?







probability combinatorics summation binomial-coefficients binomial-distribution






share|cite|improve this question









New contributor




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











share|cite|improve this question









New contributor




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









share|cite|improve this question




share|cite|improve this question








edited 1 hour ago









Austin Mohr

20.5k35098




20.5k35098






New contributor




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









asked 1 hour ago









SzymonSzymonSzymonSzymon

111




111




New contributor




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





New contributor





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






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







  • 1




    $begingroup$
    Flip $n$ coins each having probability $p$ of landing heads. The lefthand side is the probability of flipping an even number of heads. I don't immediately see how the righthand side calculates the same probability.
    $endgroup$
    – Austin Mohr
    1 hour ago






  • 1




    $begingroup$
    I believe you have a mistake: the RHS should be $frac12((1-2p)^n+1)$.
    $endgroup$
    – Mike Earnest
    53 mins ago












  • 1




    $begingroup$
    Flip $n$ coins each having probability $p$ of landing heads. The lefthand side is the probability of flipping an even number of heads. I don't immediately see how the righthand side calculates the same probability.
    $endgroup$
    – Austin Mohr
    1 hour ago






  • 1




    $begingroup$
    I believe you have a mistake: the RHS should be $frac12((1-2p)^n+1)$.
    $endgroup$
    – Mike Earnest
    53 mins ago







1




1




$begingroup$
Flip $n$ coins each having probability $p$ of landing heads. The lefthand side is the probability of flipping an even number of heads. I don't immediately see how the righthand side calculates the same probability.
$endgroup$
– Austin Mohr
1 hour ago




$begingroup$
Flip $n$ coins each having probability $p$ of landing heads. The lefthand side is the probability of flipping an even number of heads. I don't immediately see how the righthand side calculates the same probability.
$endgroup$
– Austin Mohr
1 hour ago




1




1




$begingroup$
I believe you have a mistake: the RHS should be $frac12((1-2p)^n+1)$.
$endgroup$
– Mike Earnest
53 mins ago




$begingroup$
I believe you have a mistake: the RHS should be $frac12((1-2p)^n+1)$.
$endgroup$
– Mike Earnest
53 mins ago










2 Answers
2






active

oldest

votes


















2












$begingroup$

Let $q=1-p$. Apply the binomial theorem twice, then add:



beginarrayrrl
&(p+q)^n&=;;sum_i=0^n binomnip^iq^n-i\
+&(-p+q)^n&=;;sum_i=0^n binomni(-p)^iq^n-i\hline
&(p+q)^n+(-p+q)^n &=2sum_i=0^lfloor n/2rfloorbinomn2ip^2iq^n-2i
endarray

To understand the RHS of the sum, note when $i$ is odd we have $p^i+(-p)^i=0$, while when $i$ is even, $p^i+(-p)^i=2p^i$. Replacing $q$ with $1-p$ makes the LHS $1+(1-2p)^n$.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Thank you, that's a very neat proof!
    $endgroup$
    – SzymonSzymon
    48 mins ago


















1












$begingroup$

With the corrected RHS of $frac12((1-2p)^n+1)$ and Austin Mohr's interpretation of the LHS as the probability of an even number of heads occurring in $n$ tosses of coin which comes up heads with probability $p$, the result is easily established by induction.



Case $n = 0$: $frac12((1-2p)^0+1) = 1$, which is correct since zero tosses always produce zero heads.



Case $n > 0$: An even number of heads after $n$ tosses occurs either by having an even number of heads in $n-1$ tosses followed by tails, or an odd number in $n-1$ tosses followed by heads. The probability of this is
$$
beginalign
&frac12((1-2p)^n-1+1)(1-p) + (1 - frac12((1-2p)^n-1+1))cdot p\
&= frac12(1-2p)^n-1(1-p-p) +frac12(1-p-p) + p\
&= frac12((1-2p)^n + 1),
endalign
$$

as required.






share|cite|improve this answer









$endgroup$












    Your Answer





    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("mathjaxEditing", function ()
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    );
    );
    , "mathjax-editing");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "69"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






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









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3150868%2fcombinatorics-floor-summation%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2












    $begingroup$

    Let $q=1-p$. Apply the binomial theorem twice, then add:



    beginarrayrrl
    &(p+q)^n&=;;sum_i=0^n binomnip^iq^n-i\
    +&(-p+q)^n&=;;sum_i=0^n binomni(-p)^iq^n-i\hline
    &(p+q)^n+(-p+q)^n &=2sum_i=0^lfloor n/2rfloorbinomn2ip^2iq^n-2i
    endarray

    To understand the RHS of the sum, note when $i$ is odd we have $p^i+(-p)^i=0$, while when $i$ is even, $p^i+(-p)^i=2p^i$. Replacing $q$ with $1-p$ makes the LHS $1+(1-2p)^n$.






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      Thank you, that's a very neat proof!
      $endgroup$
      – SzymonSzymon
      48 mins ago















    2












    $begingroup$

    Let $q=1-p$. Apply the binomial theorem twice, then add:



    beginarrayrrl
    &(p+q)^n&=;;sum_i=0^n binomnip^iq^n-i\
    +&(-p+q)^n&=;;sum_i=0^n binomni(-p)^iq^n-i\hline
    &(p+q)^n+(-p+q)^n &=2sum_i=0^lfloor n/2rfloorbinomn2ip^2iq^n-2i
    endarray

    To understand the RHS of the sum, note when $i$ is odd we have $p^i+(-p)^i=0$, while when $i$ is even, $p^i+(-p)^i=2p^i$. Replacing $q$ with $1-p$ makes the LHS $1+(1-2p)^n$.






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      Thank you, that's a very neat proof!
      $endgroup$
      – SzymonSzymon
      48 mins ago













    2












    2








    2





    $begingroup$

    Let $q=1-p$. Apply the binomial theorem twice, then add:



    beginarrayrrl
    &(p+q)^n&=;;sum_i=0^n binomnip^iq^n-i\
    +&(-p+q)^n&=;;sum_i=0^n binomni(-p)^iq^n-i\hline
    &(p+q)^n+(-p+q)^n &=2sum_i=0^lfloor n/2rfloorbinomn2ip^2iq^n-2i
    endarray

    To understand the RHS of the sum, note when $i$ is odd we have $p^i+(-p)^i=0$, while when $i$ is even, $p^i+(-p)^i=2p^i$. Replacing $q$ with $1-p$ makes the LHS $1+(1-2p)^n$.






    share|cite|improve this answer











    $endgroup$



    Let $q=1-p$. Apply the binomial theorem twice, then add:



    beginarrayrrl
    &(p+q)^n&=;;sum_i=0^n binomnip^iq^n-i\
    +&(-p+q)^n&=;;sum_i=0^n binomni(-p)^iq^n-i\hline
    &(p+q)^n+(-p+q)^n &=2sum_i=0^lfloor n/2rfloorbinomn2ip^2iq^n-2i
    endarray

    To understand the RHS of the sum, note when $i$ is odd we have $p^i+(-p)^i=0$, while when $i$ is even, $p^i+(-p)^i=2p^i$. Replacing $q$ with $1-p$ makes the LHS $1+(1-2p)^n$.







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited 48 mins ago

























    answered 55 mins ago









    Mike EarnestMike Earnest

    24.8k22151




    24.8k22151











    • $begingroup$
      Thank you, that's a very neat proof!
      $endgroup$
      – SzymonSzymon
      48 mins ago
















    • $begingroup$
      Thank you, that's a very neat proof!
      $endgroup$
      – SzymonSzymon
      48 mins ago















    $begingroup$
    Thank you, that's a very neat proof!
    $endgroup$
    – SzymonSzymon
    48 mins ago




    $begingroup$
    Thank you, that's a very neat proof!
    $endgroup$
    – SzymonSzymon
    48 mins ago











    1












    $begingroup$

    With the corrected RHS of $frac12((1-2p)^n+1)$ and Austin Mohr's interpretation of the LHS as the probability of an even number of heads occurring in $n$ tosses of coin which comes up heads with probability $p$, the result is easily established by induction.



    Case $n = 0$: $frac12((1-2p)^0+1) = 1$, which is correct since zero tosses always produce zero heads.



    Case $n > 0$: An even number of heads after $n$ tosses occurs either by having an even number of heads in $n-1$ tosses followed by tails, or an odd number in $n-1$ tosses followed by heads. The probability of this is
    $$
    beginalign
    &frac12((1-2p)^n-1+1)(1-p) + (1 - frac12((1-2p)^n-1+1))cdot p\
    &= frac12(1-2p)^n-1(1-p-p) +frac12(1-p-p) + p\
    &= frac12((1-2p)^n + 1),
    endalign
    $$

    as required.






    share|cite|improve this answer









    $endgroup$

















      1












      $begingroup$

      With the corrected RHS of $frac12((1-2p)^n+1)$ and Austin Mohr's interpretation of the LHS as the probability of an even number of heads occurring in $n$ tosses of coin which comes up heads with probability $p$, the result is easily established by induction.



      Case $n = 0$: $frac12((1-2p)^0+1) = 1$, which is correct since zero tosses always produce zero heads.



      Case $n > 0$: An even number of heads after $n$ tosses occurs either by having an even number of heads in $n-1$ tosses followed by tails, or an odd number in $n-1$ tosses followed by heads. The probability of this is
      $$
      beginalign
      &frac12((1-2p)^n-1+1)(1-p) + (1 - frac12((1-2p)^n-1+1))cdot p\
      &= frac12(1-2p)^n-1(1-p-p) +frac12(1-p-p) + p\
      &= frac12((1-2p)^n + 1),
      endalign
      $$

      as required.






      share|cite|improve this answer









      $endgroup$















        1












        1








        1





        $begingroup$

        With the corrected RHS of $frac12((1-2p)^n+1)$ and Austin Mohr's interpretation of the LHS as the probability of an even number of heads occurring in $n$ tosses of coin which comes up heads with probability $p$, the result is easily established by induction.



        Case $n = 0$: $frac12((1-2p)^0+1) = 1$, which is correct since zero tosses always produce zero heads.



        Case $n > 0$: An even number of heads after $n$ tosses occurs either by having an even number of heads in $n-1$ tosses followed by tails, or an odd number in $n-1$ tosses followed by heads. The probability of this is
        $$
        beginalign
        &frac12((1-2p)^n-1+1)(1-p) + (1 - frac12((1-2p)^n-1+1))cdot p\
        &= frac12(1-2p)^n-1(1-p-p) +frac12(1-p-p) + p\
        &= frac12((1-2p)^n + 1),
        endalign
        $$

        as required.






        share|cite|improve this answer









        $endgroup$



        With the corrected RHS of $frac12((1-2p)^n+1)$ and Austin Mohr's interpretation of the LHS as the probability of an even number of heads occurring in $n$ tosses of coin which comes up heads with probability $p$, the result is easily established by induction.



        Case $n = 0$: $frac12((1-2p)^0+1) = 1$, which is correct since zero tosses always produce zero heads.



        Case $n > 0$: An even number of heads after $n$ tosses occurs either by having an even number of heads in $n-1$ tosses followed by tails, or an odd number in $n-1$ tosses followed by heads. The probability of this is
        $$
        beginalign
        &frac12((1-2p)^n-1+1)(1-p) + (1 - frac12((1-2p)^n-1+1))cdot p\
        &= frac12(1-2p)^n-1(1-p-p) +frac12(1-p-p) + p\
        &= frac12((1-2p)^n + 1),
        endalign
        $$

        as required.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered 37 mins ago









        FredHFredH

        2,144914




        2,144914




















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









            draft saved

            draft discarded


















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












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











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














            Thanks for contributing an answer to Mathematics Stack Exchange!


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

            But avoid


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

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

            Use MathJax to format equations. MathJax reference.


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




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3150868%2fcombinatorics-floor-summation%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            名間水力發電廠 目录 沿革 設施 鄰近設施 註釋 外部連結 导航菜单23°50′10″N 120°42′41″E / 23.83611°N 120.71139°E / 23.83611; 120.7113923°50′10″N 120°42′41″E / 23.83611°N 120.71139°E / 23.83611; 120.71139計畫概要原始内容臺灣第一座BOT 模式開發的水力發電廠-名間水力電廠名間水力發電廠 水利署首件BOT案原始内容《小檔案》名間電廠 首座BOT水力發電廠原始内容名間電廠BOT - 經濟部水利署中區水資源局

            Prove that NP is closed under karp reduction?Space(n) not closed under Karp reductions - what about NTime(n)?Class P is closed under rotation?Prove or disprove that $NL$ is closed under polynomial many-one reductions$mathbfNC_2$ is closed under log-space reductionOn Karp reductionwhen can I know if a class (complexity) is closed under reduction (cook/karp)Check if class $PSPACE$ is closed under polyonomially space reductionIs NPSPACE also closed under polynomial-time reduction and under log-space reduction?Prove PSPACE is closed under complement?Prove PSPACE is closed under union?

            Is my guitar’s action too high? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Strings too stiff on a recently purchased acoustic guitar | Cort AD880CEIs the action of my guitar really high?Μy little finger is too weak to play guitarWith guitar, how long should I give my fingers to strengthen / callous?When playing a fret the guitar sounds mutedPlaying (Barre) chords up the guitar neckI think my guitar strings are wound too tight and I can't play barre chordsF barre chord on an SG guitarHow to find to the right strings of a barre chord by feel?High action on higher fret on my steel acoustic guitar