Number of Non negative integer solutions of $x+2y+5z=100$












1














Find Number of Non negative integer solutions of $x+2y+5z=100$



My attempt:



we have $x+2y=100-5z$



Considering the polynomial $$f(u)=(1-u)^{-1}times (1-u^2)^{-1}$$



$implies$



$$f(u)=frac{1}{(1-u)(1+u)}times frac{1}{1-u}=frac{1}{2} left(frac{1}{1-u}+frac{1}{1+u}right)frac{1}{1-u}=frac{1}{2}left((1-u)^{-2}+(1-u^2)^{-1}right)$$



we need to collect coefficient of $100-5z$ in the above given by



$$C(z)=frac{1}{2} left((101-5z)+odd(z)right)$$



Total number of solutions is



$$S(z)=frac{1}{2} sum_{z=0}^{20} 101-5z+frac{1}{2} sum_{z in odd}1$$



$$S(z)=540.5$$



what went wrong in my analysis?










share|cite|improve this question






















  • I probably do understand your attempt, which is a nice method, but I'm not sure 100% I do. Could you please write more details and explain it better?
    – user126154
    Nov 26 at 15:14








  • 1




    You get an extra coefficient of $1$ from the $(1-u^2)^{-1}$ term if $100-5z$ is even, which is when $z$ is even. So the final term in your sum should be $frac{1}{2}sum_{z in even}1$ over $z=0$ to $z=20$ which gives you an extra $0.5$ and a final answer of $541$.
    – gandalf61
    Nov 26 at 15:55


















1














Find Number of Non negative integer solutions of $x+2y+5z=100$



My attempt:



we have $x+2y=100-5z$



Considering the polynomial $$f(u)=(1-u)^{-1}times (1-u^2)^{-1}$$



$implies$



$$f(u)=frac{1}{(1-u)(1+u)}times frac{1}{1-u}=frac{1}{2} left(frac{1}{1-u}+frac{1}{1+u}right)frac{1}{1-u}=frac{1}{2}left((1-u)^{-2}+(1-u^2)^{-1}right)$$



we need to collect coefficient of $100-5z$ in the above given by



$$C(z)=frac{1}{2} left((101-5z)+odd(z)right)$$



Total number of solutions is



$$S(z)=frac{1}{2} sum_{z=0}^{20} 101-5z+frac{1}{2} sum_{z in odd}1$$



$$S(z)=540.5$$



what went wrong in my analysis?










share|cite|improve this question






















  • I probably do understand your attempt, which is a nice method, but I'm not sure 100% I do. Could you please write more details and explain it better?
    – user126154
    Nov 26 at 15:14








  • 1




    You get an extra coefficient of $1$ from the $(1-u^2)^{-1}$ term if $100-5z$ is even, which is when $z$ is even. So the final term in your sum should be $frac{1}{2}sum_{z in even}1$ over $z=0$ to $z=20$ which gives you an extra $0.5$ and a final answer of $541$.
    – gandalf61
    Nov 26 at 15:55
















1












1








1







Find Number of Non negative integer solutions of $x+2y+5z=100$



My attempt:



we have $x+2y=100-5z$



Considering the polynomial $$f(u)=(1-u)^{-1}times (1-u^2)^{-1}$$



$implies$



$$f(u)=frac{1}{(1-u)(1+u)}times frac{1}{1-u}=frac{1}{2} left(frac{1}{1-u}+frac{1}{1+u}right)frac{1}{1-u}=frac{1}{2}left((1-u)^{-2}+(1-u^2)^{-1}right)$$



we need to collect coefficient of $100-5z$ in the above given by



$$C(z)=frac{1}{2} left((101-5z)+odd(z)right)$$



Total number of solutions is



$$S(z)=frac{1}{2} sum_{z=0}^{20} 101-5z+frac{1}{2} sum_{z in odd}1$$



$$S(z)=540.5$$



what went wrong in my analysis?










share|cite|improve this question













Find Number of Non negative integer solutions of $x+2y+5z=100$



My attempt:



we have $x+2y=100-5z$



Considering the polynomial $$f(u)=(1-u)^{-1}times (1-u^2)^{-1}$$



$implies$



$$f(u)=frac{1}{(1-u)(1+u)}times frac{1}{1-u}=frac{1}{2} left(frac{1}{1-u}+frac{1}{1+u}right)frac{1}{1-u}=frac{1}{2}left((1-u)^{-2}+(1-u^2)^{-1}right)$$



we need to collect coefficient of $100-5z$ in the above given by



$$C(z)=frac{1}{2} left((101-5z)+odd(z)right)$$



Total number of solutions is



$$S(z)=frac{1}{2} sum_{z=0}^{20} 101-5z+frac{1}{2} sum_{z in odd}1$$



$$S(z)=540.5$$



what went wrong in my analysis?







combinatorics summation systems-of-equations generating-functions






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 26 at 15:04









Umesh shankar

2,55831219




2,55831219












  • I probably do understand your attempt, which is a nice method, but I'm not sure 100% I do. Could you please write more details and explain it better?
    – user126154
    Nov 26 at 15:14








  • 1




    You get an extra coefficient of $1$ from the $(1-u^2)^{-1}$ term if $100-5z$ is even, which is when $z$ is even. So the final term in your sum should be $frac{1}{2}sum_{z in even}1$ over $z=0$ to $z=20$ which gives you an extra $0.5$ and a final answer of $541$.
    – gandalf61
    Nov 26 at 15:55




















  • I probably do understand your attempt, which is a nice method, but I'm not sure 100% I do. Could you please write more details and explain it better?
    – user126154
    Nov 26 at 15:14








  • 1




    You get an extra coefficient of $1$ from the $(1-u^2)^{-1}$ term if $100-5z$ is even, which is when $z$ is even. So the final term in your sum should be $frac{1}{2}sum_{z in even}1$ over $z=0$ to $z=20$ which gives you an extra $0.5$ and a final answer of $541$.
    – gandalf61
    Nov 26 at 15:55


















I probably do understand your attempt, which is a nice method, but I'm not sure 100% I do. Could you please write more details and explain it better?
– user126154
Nov 26 at 15:14






I probably do understand your attempt, which is a nice method, but I'm not sure 100% I do. Could you please write more details and explain it better?
– user126154
Nov 26 at 15:14






1




1




You get an extra coefficient of $1$ from the $(1-u^2)^{-1}$ term if $100-5z$ is even, which is when $z$ is even. So the final term in your sum should be $frac{1}{2}sum_{z in even}1$ over $z=0$ to $z=20$ which gives you an extra $0.5$ and a final answer of $541$.
– gandalf61
Nov 26 at 15:55






You get an extra coefficient of $1$ from the $(1-u^2)^{-1}$ term if $100-5z$ is even, which is when $z$ is even. So the final term in your sum should be $frac{1}{2}sum_{z in even}1$ over $z=0$ to $z=20$ which gives you an extra $0.5$ and a final answer of $541$.
– gandalf61
Nov 26 at 15:55












4 Answers
4






active

oldest

votes


















2














An alternative way.



Given $x+2y+5z=100$ and it is clear that $0le zle20$.



For any possible values of $z$, $x+2y=100-5z$.



Let us take $p=100-5zge0$. Solving the equation $x+2y=p$,
$(-p,p)$ is a solution. The general solution of $(x,y)$ is $$x=-p+2q, y=p-q, qinmathbb{Z}$$



If $p=2k$, then $k=dfrac p2le qle p=2k$.



So, there are $k+1=dfrac p2+1$ solutions for $(x,y)$



So, we have the following numbers as follows
$$p=100,95,90,85,80,75,......,15,10,5,0$$and$$k+1=51,48,46,43,41,38,......,8,6,3,1$$



The total number of solutions are $$4(10+20+30+40)+5(8+6+3+1)+51=541$$






share|cite|improve this answer





















  • ok nice what is the mistake in my solution
    – Umesh shankar
    Nov 26 at 15:27










  • @keyflex, I don't know why my answer is different from yours.
    – xpaul
    Nov 26 at 16:05



















2














I will find number of solutions of equation $5x+2y+z=10 n$ in general:



clearly the positive solutions $x_0, y_0, z_0$ of this equation are corespondent to the solution $x_0+2,y_0, z_0$ of equation $5x+2y+z=10(n+1)$.Clearly for $x=>2$, finding the solutions of $5x+2y+z=10(n+1)$ will lead to finding the solution of first equation,provided we consider $x-2$ in first equation.

If the number of solutions of equation $5x+2y+z=10(n+1)$ is $phi(n+1)$ and that of equation $5x+2y+z=10n$ is $phi(n)$ the difference of $phi(n+1)$ and $phi(n)$ is equal to the number of solutions of equation $5x+2y+z=10(n+1)$ for $x=0$ and $x=1$. But this equation has $5n+6$ solutions for $x=0$, (i.e. $0=<y=<5n+5)$ and it has $5n+3$ solutions for $x=1$, (i.e $0=<y=<5n+2)$. Therefore we have:



$phi(n+1)-phi(n)=10n+9$



We can also search and find that $phi(1)=10$, so we can write:



$phi(1)=10$



$phi(2)-phi(1)=10times 1+9$



$phi(3)-phi(2)=10times 2+9$
.



.



.



$phi(n)-phi(n-1)=10(n-1)+9$



Summing theses relations gives:



$phi(n)=5n^2 +4n +1$



In your question $n=10$, therefore number of solutions is $phi(10)=5.10^2+4.10+1=541$






share|cite|improve this answer





























    1














    Note that the number of non-negative integer solutions of the following equation
    $$ x+y=n $$
    is $n+1$. Here $n$ is a non-negative integer. Clearly $5|(x+2y)$. Let
    $$x+2y=5ktag{1}$$
    where $0le kle 20$. For (1), if $k$ is odd, then so is $x$, and if $k$ is even, then so is $x$.



    Case 1: $k$ is odd. Let $k=2n-1$ and $x=2m-1$. Then $1le nle 10$ and (1) becomes
    $$ m+y=5n-2 $$
    whose number of non-negative integer solutions is $5n-1$.



    Case 2: $k$ is even. Let $k=2n$ and $x=2m$. Then $0le nle 10$ and (1) becomes
    $$ m+y=5n $$
    whose number of non-negative integer solutions is $5n+1$.



    Thus the number of non-negative integer solutions is
    $$ sum_{n=1}^{10}(5n-1)+sum_{n=0}^{10}(5n+1)=551 $$






    share|cite|improve this answer





























      1














      Given: $x+2y=100-5z$, tabulate:
      $$begin{array}{c|c|c}
      z&x&text{count}\
      hline
      0&100,98,cdots, 0&color{red}{51}\
      1& 95,93,cdots, 1&color{blue}{48}\
      2& 90,88,cdots, 0&color{red}{46}\
      3& 85,83,cdots, 1&color{blue}{43}\
      4& 80,78,cdots, 0&color{red}{41}\
      vdots&vdots&vdots\
      17&15,13,cdots,1&color{blue}{8}\
      18&10,8,cdots,0&color{red}{6}\
      19&5,3,1&color{blue}{3}\
      20&0&color{red}{1}\
      hline
      &&color{red}{286}+color{blue}{255}=541
      end{array}$$






      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: "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%2f3014438%2fnumber-of-non-negative-integer-solutions-of-x2y5z-100%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        2














        An alternative way.



        Given $x+2y+5z=100$ and it is clear that $0le zle20$.



        For any possible values of $z$, $x+2y=100-5z$.



        Let us take $p=100-5zge0$. Solving the equation $x+2y=p$,
        $(-p,p)$ is a solution. The general solution of $(x,y)$ is $$x=-p+2q, y=p-q, qinmathbb{Z}$$



        If $p=2k$, then $k=dfrac p2le qle p=2k$.



        So, there are $k+1=dfrac p2+1$ solutions for $(x,y)$



        So, we have the following numbers as follows
        $$p=100,95,90,85,80,75,......,15,10,5,0$$and$$k+1=51,48,46,43,41,38,......,8,6,3,1$$



        The total number of solutions are $$4(10+20+30+40)+5(8+6+3+1)+51=541$$






        share|cite|improve this answer





















        • ok nice what is the mistake in my solution
          – Umesh shankar
          Nov 26 at 15:27










        • @keyflex, I don't know why my answer is different from yours.
          – xpaul
          Nov 26 at 16:05
















        2














        An alternative way.



        Given $x+2y+5z=100$ and it is clear that $0le zle20$.



        For any possible values of $z$, $x+2y=100-5z$.



        Let us take $p=100-5zge0$. Solving the equation $x+2y=p$,
        $(-p,p)$ is a solution. The general solution of $(x,y)$ is $$x=-p+2q, y=p-q, qinmathbb{Z}$$



        If $p=2k$, then $k=dfrac p2le qle p=2k$.



        So, there are $k+1=dfrac p2+1$ solutions for $(x,y)$



        So, we have the following numbers as follows
        $$p=100,95,90,85,80,75,......,15,10,5,0$$and$$k+1=51,48,46,43,41,38,......,8,6,3,1$$



        The total number of solutions are $$4(10+20+30+40)+5(8+6+3+1)+51=541$$






        share|cite|improve this answer





















        • ok nice what is the mistake in my solution
          – Umesh shankar
          Nov 26 at 15:27










        • @keyflex, I don't know why my answer is different from yours.
          – xpaul
          Nov 26 at 16:05














        2












        2








        2






        An alternative way.



        Given $x+2y+5z=100$ and it is clear that $0le zle20$.



        For any possible values of $z$, $x+2y=100-5z$.



        Let us take $p=100-5zge0$. Solving the equation $x+2y=p$,
        $(-p,p)$ is a solution. The general solution of $(x,y)$ is $$x=-p+2q, y=p-q, qinmathbb{Z}$$



        If $p=2k$, then $k=dfrac p2le qle p=2k$.



        So, there are $k+1=dfrac p2+1$ solutions for $(x,y)$



        So, we have the following numbers as follows
        $$p=100,95,90,85,80,75,......,15,10,5,0$$and$$k+1=51,48,46,43,41,38,......,8,6,3,1$$



        The total number of solutions are $$4(10+20+30+40)+5(8+6+3+1)+51=541$$






        share|cite|improve this answer












        An alternative way.



        Given $x+2y+5z=100$ and it is clear that $0le zle20$.



        For any possible values of $z$, $x+2y=100-5z$.



        Let us take $p=100-5zge0$. Solving the equation $x+2y=p$,
        $(-p,p)$ is a solution. The general solution of $(x,y)$ is $$x=-p+2q, y=p-q, qinmathbb{Z}$$



        If $p=2k$, then $k=dfrac p2le qle p=2k$.



        So, there are $k+1=dfrac p2+1$ solutions for $(x,y)$



        So, we have the following numbers as follows
        $$p=100,95,90,85,80,75,......,15,10,5,0$$and$$k+1=51,48,46,43,41,38,......,8,6,3,1$$



        The total number of solutions are $$4(10+20+30+40)+5(8+6+3+1)+51=541$$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 26 at 15:19









        Key Flex

        7,46941232




        7,46941232












        • ok nice what is the mistake in my solution
          – Umesh shankar
          Nov 26 at 15:27










        • @keyflex, I don't know why my answer is different from yours.
          – xpaul
          Nov 26 at 16:05


















        • ok nice what is the mistake in my solution
          – Umesh shankar
          Nov 26 at 15:27










        • @keyflex, I don't know why my answer is different from yours.
          – xpaul
          Nov 26 at 16:05
















        ok nice what is the mistake in my solution
        – Umesh shankar
        Nov 26 at 15:27




        ok nice what is the mistake in my solution
        – Umesh shankar
        Nov 26 at 15:27












        @keyflex, I don't know why my answer is different from yours.
        – xpaul
        Nov 26 at 16:05




        @keyflex, I don't know why my answer is different from yours.
        – xpaul
        Nov 26 at 16:05











        2














        I will find number of solutions of equation $5x+2y+z=10 n$ in general:



        clearly the positive solutions $x_0, y_0, z_0$ of this equation are corespondent to the solution $x_0+2,y_0, z_0$ of equation $5x+2y+z=10(n+1)$.Clearly for $x=>2$, finding the solutions of $5x+2y+z=10(n+1)$ will lead to finding the solution of first equation,provided we consider $x-2$ in first equation.

        If the number of solutions of equation $5x+2y+z=10(n+1)$ is $phi(n+1)$ and that of equation $5x+2y+z=10n$ is $phi(n)$ the difference of $phi(n+1)$ and $phi(n)$ is equal to the number of solutions of equation $5x+2y+z=10(n+1)$ for $x=0$ and $x=1$. But this equation has $5n+6$ solutions for $x=0$, (i.e. $0=<y=<5n+5)$ and it has $5n+3$ solutions for $x=1$, (i.e $0=<y=<5n+2)$. Therefore we have:



        $phi(n+1)-phi(n)=10n+9$



        We can also search and find that $phi(1)=10$, so we can write:



        $phi(1)=10$



        $phi(2)-phi(1)=10times 1+9$



        $phi(3)-phi(2)=10times 2+9$
        .



        .



        .



        $phi(n)-phi(n-1)=10(n-1)+9$



        Summing theses relations gives:



        $phi(n)=5n^2 +4n +1$



        In your question $n=10$, therefore number of solutions is $phi(10)=5.10^2+4.10+1=541$






        share|cite|improve this answer


























          2














          I will find number of solutions of equation $5x+2y+z=10 n$ in general:



          clearly the positive solutions $x_0, y_0, z_0$ of this equation are corespondent to the solution $x_0+2,y_0, z_0$ of equation $5x+2y+z=10(n+1)$.Clearly for $x=>2$, finding the solutions of $5x+2y+z=10(n+1)$ will lead to finding the solution of first equation,provided we consider $x-2$ in first equation.

          If the number of solutions of equation $5x+2y+z=10(n+1)$ is $phi(n+1)$ and that of equation $5x+2y+z=10n$ is $phi(n)$ the difference of $phi(n+1)$ and $phi(n)$ is equal to the number of solutions of equation $5x+2y+z=10(n+1)$ for $x=0$ and $x=1$. But this equation has $5n+6$ solutions for $x=0$, (i.e. $0=<y=<5n+5)$ and it has $5n+3$ solutions for $x=1$, (i.e $0=<y=<5n+2)$. Therefore we have:



          $phi(n+1)-phi(n)=10n+9$



          We can also search and find that $phi(1)=10$, so we can write:



          $phi(1)=10$



          $phi(2)-phi(1)=10times 1+9$



          $phi(3)-phi(2)=10times 2+9$
          .



          .



          .



          $phi(n)-phi(n-1)=10(n-1)+9$



          Summing theses relations gives:



          $phi(n)=5n^2 +4n +1$



          In your question $n=10$, therefore number of solutions is $phi(10)=5.10^2+4.10+1=541$






          share|cite|improve this answer
























            2












            2








            2






            I will find number of solutions of equation $5x+2y+z=10 n$ in general:



            clearly the positive solutions $x_0, y_0, z_0$ of this equation are corespondent to the solution $x_0+2,y_0, z_0$ of equation $5x+2y+z=10(n+1)$.Clearly for $x=>2$, finding the solutions of $5x+2y+z=10(n+1)$ will lead to finding the solution of first equation,provided we consider $x-2$ in first equation.

            If the number of solutions of equation $5x+2y+z=10(n+1)$ is $phi(n+1)$ and that of equation $5x+2y+z=10n$ is $phi(n)$ the difference of $phi(n+1)$ and $phi(n)$ is equal to the number of solutions of equation $5x+2y+z=10(n+1)$ for $x=0$ and $x=1$. But this equation has $5n+6$ solutions for $x=0$, (i.e. $0=<y=<5n+5)$ and it has $5n+3$ solutions for $x=1$, (i.e $0=<y=<5n+2)$. Therefore we have:



            $phi(n+1)-phi(n)=10n+9$



            We can also search and find that $phi(1)=10$, so we can write:



            $phi(1)=10$



            $phi(2)-phi(1)=10times 1+9$



            $phi(3)-phi(2)=10times 2+9$
            .



            .



            .



            $phi(n)-phi(n-1)=10(n-1)+9$



            Summing theses relations gives:



            $phi(n)=5n^2 +4n +1$



            In your question $n=10$, therefore number of solutions is $phi(10)=5.10^2+4.10+1=541$






            share|cite|improve this answer












            I will find number of solutions of equation $5x+2y+z=10 n$ in general:



            clearly the positive solutions $x_0, y_0, z_0$ of this equation are corespondent to the solution $x_0+2,y_0, z_0$ of equation $5x+2y+z=10(n+1)$.Clearly for $x=>2$, finding the solutions of $5x+2y+z=10(n+1)$ will lead to finding the solution of first equation,provided we consider $x-2$ in first equation.

            If the number of solutions of equation $5x+2y+z=10(n+1)$ is $phi(n+1)$ and that of equation $5x+2y+z=10n$ is $phi(n)$ the difference of $phi(n+1)$ and $phi(n)$ is equal to the number of solutions of equation $5x+2y+z=10(n+1)$ for $x=0$ and $x=1$. But this equation has $5n+6$ solutions for $x=0$, (i.e. $0=<y=<5n+5)$ and it has $5n+3$ solutions for $x=1$, (i.e $0=<y=<5n+2)$. Therefore we have:



            $phi(n+1)-phi(n)=10n+9$



            We can also search and find that $phi(1)=10$, so we can write:



            $phi(1)=10$



            $phi(2)-phi(1)=10times 1+9$



            $phi(3)-phi(2)=10times 2+9$
            .



            .



            .



            $phi(n)-phi(n-1)=10(n-1)+9$



            Summing theses relations gives:



            $phi(n)=5n^2 +4n +1$



            In your question $n=10$, therefore number of solutions is $phi(10)=5.10^2+4.10+1=541$







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Nov 26 at 15:55









            sirous

            1,5891513




            1,5891513























                1














                Note that the number of non-negative integer solutions of the following equation
                $$ x+y=n $$
                is $n+1$. Here $n$ is a non-negative integer. Clearly $5|(x+2y)$. Let
                $$x+2y=5ktag{1}$$
                where $0le kle 20$. For (1), if $k$ is odd, then so is $x$, and if $k$ is even, then so is $x$.



                Case 1: $k$ is odd. Let $k=2n-1$ and $x=2m-1$. Then $1le nle 10$ and (1) becomes
                $$ m+y=5n-2 $$
                whose number of non-negative integer solutions is $5n-1$.



                Case 2: $k$ is even. Let $k=2n$ and $x=2m$. Then $0le nle 10$ and (1) becomes
                $$ m+y=5n $$
                whose number of non-negative integer solutions is $5n+1$.



                Thus the number of non-negative integer solutions is
                $$ sum_{n=1}^{10}(5n-1)+sum_{n=0}^{10}(5n+1)=551 $$






                share|cite|improve this answer


























                  1














                  Note that the number of non-negative integer solutions of the following equation
                  $$ x+y=n $$
                  is $n+1$. Here $n$ is a non-negative integer. Clearly $5|(x+2y)$. Let
                  $$x+2y=5ktag{1}$$
                  where $0le kle 20$. For (1), if $k$ is odd, then so is $x$, and if $k$ is even, then so is $x$.



                  Case 1: $k$ is odd. Let $k=2n-1$ and $x=2m-1$. Then $1le nle 10$ and (1) becomes
                  $$ m+y=5n-2 $$
                  whose number of non-negative integer solutions is $5n-1$.



                  Case 2: $k$ is even. Let $k=2n$ and $x=2m$. Then $0le nle 10$ and (1) becomes
                  $$ m+y=5n $$
                  whose number of non-negative integer solutions is $5n+1$.



                  Thus the number of non-negative integer solutions is
                  $$ sum_{n=1}^{10}(5n-1)+sum_{n=0}^{10}(5n+1)=551 $$






                  share|cite|improve this answer
























                    1












                    1








                    1






                    Note that the number of non-negative integer solutions of the following equation
                    $$ x+y=n $$
                    is $n+1$. Here $n$ is a non-negative integer. Clearly $5|(x+2y)$. Let
                    $$x+2y=5ktag{1}$$
                    where $0le kle 20$. For (1), if $k$ is odd, then so is $x$, and if $k$ is even, then so is $x$.



                    Case 1: $k$ is odd. Let $k=2n-1$ and $x=2m-1$. Then $1le nle 10$ and (1) becomes
                    $$ m+y=5n-2 $$
                    whose number of non-negative integer solutions is $5n-1$.



                    Case 2: $k$ is even. Let $k=2n$ and $x=2m$. Then $0le nle 10$ and (1) becomes
                    $$ m+y=5n $$
                    whose number of non-negative integer solutions is $5n+1$.



                    Thus the number of non-negative integer solutions is
                    $$ sum_{n=1}^{10}(5n-1)+sum_{n=0}^{10}(5n+1)=551 $$






                    share|cite|improve this answer












                    Note that the number of non-negative integer solutions of the following equation
                    $$ x+y=n $$
                    is $n+1$. Here $n$ is a non-negative integer. Clearly $5|(x+2y)$. Let
                    $$x+2y=5ktag{1}$$
                    where $0le kle 20$. For (1), if $k$ is odd, then so is $x$, and if $k$ is even, then so is $x$.



                    Case 1: $k$ is odd. Let $k=2n-1$ and $x=2m-1$. Then $1le nle 10$ and (1) becomes
                    $$ m+y=5n-2 $$
                    whose number of non-negative integer solutions is $5n-1$.



                    Case 2: $k$ is even. Let $k=2n$ and $x=2m$. Then $0le nle 10$ and (1) becomes
                    $$ m+y=5n $$
                    whose number of non-negative integer solutions is $5n+1$.



                    Thus the number of non-negative integer solutions is
                    $$ sum_{n=1}^{10}(5n-1)+sum_{n=0}^{10}(5n+1)=551 $$







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Nov 26 at 16:04









                    xpaul

                    22.4k14455




                    22.4k14455























                        1














                        Given: $x+2y=100-5z$, tabulate:
                        $$begin{array}{c|c|c}
                        z&x&text{count}\
                        hline
                        0&100,98,cdots, 0&color{red}{51}\
                        1& 95,93,cdots, 1&color{blue}{48}\
                        2& 90,88,cdots, 0&color{red}{46}\
                        3& 85,83,cdots, 1&color{blue}{43}\
                        4& 80,78,cdots, 0&color{red}{41}\
                        vdots&vdots&vdots\
                        17&15,13,cdots,1&color{blue}{8}\
                        18&10,8,cdots,0&color{red}{6}\
                        19&5,3,1&color{blue}{3}\
                        20&0&color{red}{1}\
                        hline
                        &&color{red}{286}+color{blue}{255}=541
                        end{array}$$






                        share|cite|improve this answer


























                          1














                          Given: $x+2y=100-5z$, tabulate:
                          $$begin{array}{c|c|c}
                          z&x&text{count}\
                          hline
                          0&100,98,cdots, 0&color{red}{51}\
                          1& 95,93,cdots, 1&color{blue}{48}\
                          2& 90,88,cdots, 0&color{red}{46}\
                          3& 85,83,cdots, 1&color{blue}{43}\
                          4& 80,78,cdots, 0&color{red}{41}\
                          vdots&vdots&vdots\
                          17&15,13,cdots,1&color{blue}{8}\
                          18&10,8,cdots,0&color{red}{6}\
                          19&5,3,1&color{blue}{3}\
                          20&0&color{red}{1}\
                          hline
                          &&color{red}{286}+color{blue}{255}=541
                          end{array}$$






                          share|cite|improve this answer
























                            1












                            1








                            1






                            Given: $x+2y=100-5z$, tabulate:
                            $$begin{array}{c|c|c}
                            z&x&text{count}\
                            hline
                            0&100,98,cdots, 0&color{red}{51}\
                            1& 95,93,cdots, 1&color{blue}{48}\
                            2& 90,88,cdots, 0&color{red}{46}\
                            3& 85,83,cdots, 1&color{blue}{43}\
                            4& 80,78,cdots, 0&color{red}{41}\
                            vdots&vdots&vdots\
                            17&15,13,cdots,1&color{blue}{8}\
                            18&10,8,cdots,0&color{red}{6}\
                            19&5,3,1&color{blue}{3}\
                            20&0&color{red}{1}\
                            hline
                            &&color{red}{286}+color{blue}{255}=541
                            end{array}$$






                            share|cite|improve this answer












                            Given: $x+2y=100-5z$, tabulate:
                            $$begin{array}{c|c|c}
                            z&x&text{count}\
                            hline
                            0&100,98,cdots, 0&color{red}{51}\
                            1& 95,93,cdots, 1&color{blue}{48}\
                            2& 90,88,cdots, 0&color{red}{46}\
                            3& 85,83,cdots, 1&color{blue}{43}\
                            4& 80,78,cdots, 0&color{red}{41}\
                            vdots&vdots&vdots\
                            17&15,13,cdots,1&color{blue}{8}\
                            18&10,8,cdots,0&color{red}{6}\
                            19&5,3,1&color{blue}{3}\
                            20&0&color{red}{1}\
                            hline
                            &&color{red}{286}+color{blue}{255}=541
                            end{array}$$







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Nov 26 at 16:20









                            farruhota

                            19.1k2736




                            19.1k2736






























                                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.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • 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.


                                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%2f3014438%2fnumber-of-non-negative-integer-solutions-of-x2y5z-100%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

                                Ellipse (mathématiques)

                                Quarter-circle Tiles

                                Mont Emei