On the parity of the coefficients of $(x+y)^n$.












2












$begingroup$



The coefficients of $(x+y)^3=x^3+3x^2y+3xy^2+y^3$ are $1$, $3$, $3$ and $1$. They are all odd numbers. Which of the following options has coefficients that are also all odd numbers?



$(text A) (x+y)^5$
$(text B) (x+y)^7$
$(text C) (x+y)^9$
$(text D) (x+y)^{11}$
$(text E) (x+y)^{13}$






My solution is using Pascal's triangle [1] to calculate all the coefficients of $(text A)$ to $(text E)$. Finally, I find that only $(text B)$ is the correct answer. I want to know if there is a faster way to solve this question.



Reference



[1] Wikipedia contributors, "Pascal's triangle," Wikipedia, The Free Encyclopedia, https://en.wikipedia.org/w/index.php?title=Pascal%27s_triangle&oldid=877891681 (accessed January 29, 2019).



Note



My question is different from "How does Combination formula relates in getting the coefficients of a Binomial Expansion?" The key point here is the parity.










share|cite|improve this question











$endgroup$












  • $begingroup$
    @MohammadZuhairKhan No, my question is different. The key point is the parity.
    $endgroup$
    – Wei-Cheng Liu
    Jan 29 at 9:28










  • $begingroup$
    My apologies. I assumed that it was about faster techniques of finding the coefficients of the expansion. May I suggest accepting the answer below if it has answered your question?
    $endgroup$
    – Mohammad Zuhair Khan
    Jan 29 at 14:00












  • $begingroup$
    @MohammadZuhairKhan That is alright. Yes, I will accept the answer below.
    $endgroup$
    – Wei-Cheng Liu
    Jan 30 at 3:08
















2












$begingroup$



The coefficients of $(x+y)^3=x^3+3x^2y+3xy^2+y^3$ are $1$, $3$, $3$ and $1$. They are all odd numbers. Which of the following options has coefficients that are also all odd numbers?



$(text A) (x+y)^5$
$(text B) (x+y)^7$
$(text C) (x+y)^9$
$(text D) (x+y)^{11}$
$(text E) (x+y)^{13}$






My solution is using Pascal's triangle [1] to calculate all the coefficients of $(text A)$ to $(text E)$. Finally, I find that only $(text B)$ is the correct answer. I want to know if there is a faster way to solve this question.



Reference



[1] Wikipedia contributors, "Pascal's triangle," Wikipedia, The Free Encyclopedia, https://en.wikipedia.org/w/index.php?title=Pascal%27s_triangle&oldid=877891681 (accessed January 29, 2019).



Note



My question is different from "How does Combination formula relates in getting the coefficients of a Binomial Expansion?" The key point here is the parity.










share|cite|improve this question











$endgroup$












  • $begingroup$
    @MohammadZuhairKhan No, my question is different. The key point is the parity.
    $endgroup$
    – Wei-Cheng Liu
    Jan 29 at 9:28










  • $begingroup$
    My apologies. I assumed that it was about faster techniques of finding the coefficients of the expansion. May I suggest accepting the answer below if it has answered your question?
    $endgroup$
    – Mohammad Zuhair Khan
    Jan 29 at 14:00












  • $begingroup$
    @MohammadZuhairKhan That is alright. Yes, I will accept the answer below.
    $endgroup$
    – Wei-Cheng Liu
    Jan 30 at 3:08














2












2








2


1



$begingroup$



The coefficients of $(x+y)^3=x^3+3x^2y+3xy^2+y^3$ are $1$, $3$, $3$ and $1$. They are all odd numbers. Which of the following options has coefficients that are also all odd numbers?



$(text A) (x+y)^5$
$(text B) (x+y)^7$
$(text C) (x+y)^9$
$(text D) (x+y)^{11}$
$(text E) (x+y)^{13}$






My solution is using Pascal's triangle [1] to calculate all the coefficients of $(text A)$ to $(text E)$. Finally, I find that only $(text B)$ is the correct answer. I want to know if there is a faster way to solve this question.



Reference



[1] Wikipedia contributors, "Pascal's triangle," Wikipedia, The Free Encyclopedia, https://en.wikipedia.org/w/index.php?title=Pascal%27s_triangle&oldid=877891681 (accessed January 29, 2019).



Note



My question is different from "How does Combination formula relates in getting the coefficients of a Binomial Expansion?" The key point here is the parity.










share|cite|improve this question











$endgroup$





The coefficients of $(x+y)^3=x^3+3x^2y+3xy^2+y^3$ are $1$, $3$, $3$ and $1$. They are all odd numbers. Which of the following options has coefficients that are also all odd numbers?



$(text A) (x+y)^5$
$(text B) (x+y)^7$
$(text C) (x+y)^9$
$(text D) (x+y)^{11}$
$(text E) (x+y)^{13}$






My solution is using Pascal's triangle [1] to calculate all the coefficients of $(text A)$ to $(text E)$. Finally, I find that only $(text B)$ is the correct answer. I want to know if there is a faster way to solve this question.



Reference



[1] Wikipedia contributors, "Pascal's triangle," Wikipedia, The Free Encyclopedia, https://en.wikipedia.org/w/index.php?title=Pascal%27s_triangle&oldid=877891681 (accessed January 29, 2019).



Note



My question is different from "How does Combination formula relates in getting the coefficients of a Binomial Expansion?" The key point here is the parity.







binomial-coefficients binomial-theorem






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 29 at 9:31







Wei-Cheng Liu

















asked Jan 29 at 8:43









Wei-Cheng LiuWei-Cheng Liu

7414




7414












  • $begingroup$
    @MohammadZuhairKhan No, my question is different. The key point is the parity.
    $endgroup$
    – Wei-Cheng Liu
    Jan 29 at 9:28










  • $begingroup$
    My apologies. I assumed that it was about faster techniques of finding the coefficients of the expansion. May I suggest accepting the answer below if it has answered your question?
    $endgroup$
    – Mohammad Zuhair Khan
    Jan 29 at 14:00












  • $begingroup$
    @MohammadZuhairKhan That is alright. Yes, I will accept the answer below.
    $endgroup$
    – Wei-Cheng Liu
    Jan 30 at 3:08


















  • $begingroup$
    @MohammadZuhairKhan No, my question is different. The key point is the parity.
    $endgroup$
    – Wei-Cheng Liu
    Jan 29 at 9:28










  • $begingroup$
    My apologies. I assumed that it was about faster techniques of finding the coefficients of the expansion. May I suggest accepting the answer below if it has answered your question?
    $endgroup$
    – Mohammad Zuhair Khan
    Jan 29 at 14:00












  • $begingroup$
    @MohammadZuhairKhan That is alright. Yes, I will accept the answer below.
    $endgroup$
    – Wei-Cheng Liu
    Jan 30 at 3:08
















$begingroup$
@MohammadZuhairKhan No, my question is different. The key point is the parity.
$endgroup$
– Wei-Cheng Liu
Jan 29 at 9:28




$begingroup$
@MohammadZuhairKhan No, my question is different. The key point is the parity.
$endgroup$
– Wei-Cheng Liu
Jan 29 at 9:28












$begingroup$
My apologies. I assumed that it was about faster techniques of finding the coefficients of the expansion. May I suggest accepting the answer below if it has answered your question?
$endgroup$
– Mohammad Zuhair Khan
Jan 29 at 14:00






$begingroup$
My apologies. I assumed that it was about faster techniques of finding the coefficients of the expansion. May I suggest accepting the answer below if it has answered your question?
$endgroup$
– Mohammad Zuhair Khan
Jan 29 at 14:00














$begingroup$
@MohammadZuhairKhan That is alright. Yes, I will accept the answer below.
$endgroup$
– Wei-Cheng Liu
Jan 30 at 3:08




$begingroup$
@MohammadZuhairKhan That is alright. Yes, I will accept the answer below.
$endgroup$
– Wei-Cheng Liu
Jan 30 at 3:08










1 Answer
1






active

oldest

votes


















6












$begingroup$

$n choose k$ is odd, for every $k=0,1,..,n$ if and only if $n=2^m-1$ (i.e. $n$ has only 1's in its base 2 expansion).



This is proved using Lucas' theorem






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


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3091927%2fon-the-parity-of-the-coefficients-of-xyn%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









    6












    $begingroup$

    $n choose k$ is odd, for every $k=0,1,..,n$ if and only if $n=2^m-1$ (i.e. $n$ has only 1's in its base 2 expansion).



    This is proved using Lucas' theorem






    share|cite|improve this answer











    $endgroup$


















      6












      $begingroup$

      $n choose k$ is odd, for every $k=0,1,..,n$ if and only if $n=2^m-1$ (i.e. $n$ has only 1's in its base 2 expansion).



      This is proved using Lucas' theorem






      share|cite|improve this answer











      $endgroup$
















        6












        6








        6





        $begingroup$

        $n choose k$ is odd, for every $k=0,1,..,n$ if and only if $n=2^m-1$ (i.e. $n$ has only 1's in its base 2 expansion).



        This is proved using Lucas' theorem






        share|cite|improve this answer











        $endgroup$



        $n choose k$ is odd, for every $k=0,1,..,n$ if and only if $n=2^m-1$ (i.e. $n$ has only 1's in its base 2 expansion).



        This is proved using Lucas' theorem







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Jan 29 at 9:17

























        answered Jan 29 at 8:51









        Sorin TircSorin Tirc

        1,855213




        1,855213






























            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%2f3091927%2fon-the-parity-of-the-coefficients-of-xyn%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

            MongoDB - Not Authorized To Execute Command

            in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

            How to fix TextFormField cause rebuild widget in Flutter