How many pairs $(x,y)$ such that $x+y=n$ have an $x$ or $y$ divisible by 3 but $x$ and $y$ are not equal to...












2












$begingroup$


Let the set $S_{n}$ = {$(x,y):x,y in mathbb{O}$} such that $x+y=n$ where $mathbb{O}$ is set of odd integers > 1.



Let us define the function $f(n) = |S_{n}|$ that counts the number of pairs in $S_{n}$.



Examples: $S_{10} ={(3,7),(5,5),(7,3)}$ and $f(10) = 3$.



$S_{14} = {(3,11), (5,9), (7,7), (9,5),(11,3)}$ and $f(14) = 5$



$S_{32} = {(3,29), (5,27), (7,25), (9,23), (11,21), (13,19), (15,17), (17,15), (19,13), (21,11), (23,9), (25,7), (27,5), (29,3)}$



and $f(32) = 14$



It turns out that $f(n) = ((n/2) - 2)$.



Let us define another function $g(n)$ that counts the number of pairs $(x,y)$ such that either $x$ or $y$ is divisible by 3, but $x neq 3$ and $yneq 3$.



Example: $g(32) = 8$ because there are 8 pairs where $x$ or $y$ is divisible by 3 but not equal to 3.
They are (5,27), (9,23), (11,21), (15,17), (17,15), (21,11), (23,9) and (27,5).



There are two cases: Case 1, $n$ is divisible by 3 and case 2, $n$ is not divisible by 3. Let us only consider case where $n$ is not divisible by 3, since if $n$ is divisible by 3, any pair where $x$ is divisible by 3, $y$ will also be divisible by 3.



What is the formula for $g(n)$ in terms of $f(n)$ for values of $n$ not divisible by 3?



What is the formula for $g(n)$ in terms of $f(n)$ for limit $n toinfty$?



My guess is that as $n to infty$ for $n$ not divisible by 3, the value of $g(n)$ approaches $(2/3)f(n)$.










share|cite|improve this question









$endgroup$

















    2












    $begingroup$


    Let the set $S_{n}$ = {$(x,y):x,y in mathbb{O}$} such that $x+y=n$ where $mathbb{O}$ is set of odd integers > 1.



    Let us define the function $f(n) = |S_{n}|$ that counts the number of pairs in $S_{n}$.



    Examples: $S_{10} ={(3,7),(5,5),(7,3)}$ and $f(10) = 3$.



    $S_{14} = {(3,11), (5,9), (7,7), (9,5),(11,3)}$ and $f(14) = 5$



    $S_{32} = {(3,29), (5,27), (7,25), (9,23), (11,21), (13,19), (15,17), (17,15), (19,13), (21,11), (23,9), (25,7), (27,5), (29,3)}$



    and $f(32) = 14$



    It turns out that $f(n) = ((n/2) - 2)$.



    Let us define another function $g(n)$ that counts the number of pairs $(x,y)$ such that either $x$ or $y$ is divisible by 3, but $x neq 3$ and $yneq 3$.



    Example: $g(32) = 8$ because there are 8 pairs where $x$ or $y$ is divisible by 3 but not equal to 3.
    They are (5,27), (9,23), (11,21), (15,17), (17,15), (21,11), (23,9) and (27,5).



    There are two cases: Case 1, $n$ is divisible by 3 and case 2, $n$ is not divisible by 3. Let us only consider case where $n$ is not divisible by 3, since if $n$ is divisible by 3, any pair where $x$ is divisible by 3, $y$ will also be divisible by 3.



    What is the formula for $g(n)$ in terms of $f(n)$ for values of $n$ not divisible by 3?



    What is the formula for $g(n)$ in terms of $f(n)$ for limit $n toinfty$?



    My guess is that as $n to infty$ for $n$ not divisible by 3, the value of $g(n)$ approaches $(2/3)f(n)$.










    share|cite|improve this question









    $endgroup$















      2












      2








      2





      $begingroup$


      Let the set $S_{n}$ = {$(x,y):x,y in mathbb{O}$} such that $x+y=n$ where $mathbb{O}$ is set of odd integers > 1.



      Let us define the function $f(n) = |S_{n}|$ that counts the number of pairs in $S_{n}$.



      Examples: $S_{10} ={(3,7),(5,5),(7,3)}$ and $f(10) = 3$.



      $S_{14} = {(3,11), (5,9), (7,7), (9,5),(11,3)}$ and $f(14) = 5$



      $S_{32} = {(3,29), (5,27), (7,25), (9,23), (11,21), (13,19), (15,17), (17,15), (19,13), (21,11), (23,9), (25,7), (27,5), (29,3)}$



      and $f(32) = 14$



      It turns out that $f(n) = ((n/2) - 2)$.



      Let us define another function $g(n)$ that counts the number of pairs $(x,y)$ such that either $x$ or $y$ is divisible by 3, but $x neq 3$ and $yneq 3$.



      Example: $g(32) = 8$ because there are 8 pairs where $x$ or $y$ is divisible by 3 but not equal to 3.
      They are (5,27), (9,23), (11,21), (15,17), (17,15), (21,11), (23,9) and (27,5).



      There are two cases: Case 1, $n$ is divisible by 3 and case 2, $n$ is not divisible by 3. Let us only consider case where $n$ is not divisible by 3, since if $n$ is divisible by 3, any pair where $x$ is divisible by 3, $y$ will also be divisible by 3.



      What is the formula for $g(n)$ in terms of $f(n)$ for values of $n$ not divisible by 3?



      What is the formula for $g(n)$ in terms of $f(n)$ for limit $n toinfty$?



      My guess is that as $n to infty$ for $n$ not divisible by 3, the value of $g(n)$ approaches $(2/3)f(n)$.










      share|cite|improve this question









      $endgroup$




      Let the set $S_{n}$ = {$(x,y):x,y in mathbb{O}$} such that $x+y=n$ where $mathbb{O}$ is set of odd integers > 1.



      Let us define the function $f(n) = |S_{n}|$ that counts the number of pairs in $S_{n}$.



      Examples: $S_{10} ={(3,7),(5,5),(7,3)}$ and $f(10) = 3$.



      $S_{14} = {(3,11), (5,9), (7,7), (9,5),(11,3)}$ and $f(14) = 5$



      $S_{32} = {(3,29), (5,27), (7,25), (9,23), (11,21), (13,19), (15,17), (17,15), (19,13), (21,11), (23,9), (25,7), (27,5), (29,3)}$



      and $f(32) = 14$



      It turns out that $f(n) = ((n/2) - 2)$.



      Let us define another function $g(n)$ that counts the number of pairs $(x,y)$ such that either $x$ or $y$ is divisible by 3, but $x neq 3$ and $yneq 3$.



      Example: $g(32) = 8$ because there are 8 pairs where $x$ or $y$ is divisible by 3 but not equal to 3.
      They are (5,27), (9,23), (11,21), (15,17), (17,15), (21,11), (23,9) and (27,5).



      There are two cases: Case 1, $n$ is divisible by 3 and case 2, $n$ is not divisible by 3. Let us only consider case where $n$ is not divisible by 3, since if $n$ is divisible by 3, any pair where $x$ is divisible by 3, $y$ will also be divisible by 3.



      What is the formula for $g(n)$ in terms of $f(n)$ for values of $n$ not divisible by 3?



      What is the formula for $g(n)$ in terms of $f(n)$ for limit $n toinfty$?



      My guess is that as $n to infty$ for $n$ not divisible by 3, the value of $g(n)$ approaches $(2/3)f(n)$.







      number-theory goldbachs-conjecture






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 13 '18 at 16:29









      temp wattstemp watts

      262




      262






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          The sum of $2$ multiples of $k$ is also a multiple of $k$. Therefore, if $n$ is not divisible by $3$, we know that the $leftlfloor frac{n}{6}rightrfloor -1$ values of $p$ where $p$ is divisible by $3$ will not overlap any of the $leftlfloor frac{n}{6}rightrfloor -1$ values of $q$ where $q$ is divisible by $3$.



          So the formula for $g(n)$ in terms of $n$ for values of $n$ not divisible by $3$ is:



          $$g(n)=2leftlfloor frac{n}{6}rightrfloor -2$$



          The formula for $g(n)$ in terms of $f(n)$ for values of $n$ not divisible by $3$ is:



          $$g(n)=2leftlfloor frac{fleft(nright)+2}{3}rightrfloor -2$$



          Your guess about the limit for $frac{g(n)}{fleft(nright)}$ is also right:



          $$frac{g(n)}{fleft(nright)}=frac{2leftlfloor frac{n}{6}rightrfloor -2}{frac{n}{2}-2}=frac{frac{n}{3}-2}{frac{n}{2}-2}=frac{2n-12}{3n-12}$$



          $$lim_{nrightarrowinfty}frac{2n-12}{3n-12}=frac{2infty-12}{3infty-12}=frac{2infty}{3infty}=frac{2}{3}left(frac{infty}{infty}right)=frac{2}{3}$$






          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%2f3038250%2fhow-many-pairs-x-y-such-that-xy-n-have-an-x-or-y-divisible-by-3-but%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









            0












            $begingroup$

            The sum of $2$ multiples of $k$ is also a multiple of $k$. Therefore, if $n$ is not divisible by $3$, we know that the $leftlfloor frac{n}{6}rightrfloor -1$ values of $p$ where $p$ is divisible by $3$ will not overlap any of the $leftlfloor frac{n}{6}rightrfloor -1$ values of $q$ where $q$ is divisible by $3$.



            So the formula for $g(n)$ in terms of $n$ for values of $n$ not divisible by $3$ is:



            $$g(n)=2leftlfloor frac{n}{6}rightrfloor -2$$



            The formula for $g(n)$ in terms of $f(n)$ for values of $n$ not divisible by $3$ is:



            $$g(n)=2leftlfloor frac{fleft(nright)+2}{3}rightrfloor -2$$



            Your guess about the limit for $frac{g(n)}{fleft(nright)}$ is also right:



            $$frac{g(n)}{fleft(nright)}=frac{2leftlfloor frac{n}{6}rightrfloor -2}{frac{n}{2}-2}=frac{frac{n}{3}-2}{frac{n}{2}-2}=frac{2n-12}{3n-12}$$



            $$lim_{nrightarrowinfty}frac{2n-12}{3n-12}=frac{2infty-12}{3infty-12}=frac{2infty}{3infty}=frac{2}{3}left(frac{infty}{infty}right)=frac{2}{3}$$






            share|cite|improve this answer









            $endgroup$


















              0












              $begingroup$

              The sum of $2$ multiples of $k$ is also a multiple of $k$. Therefore, if $n$ is not divisible by $3$, we know that the $leftlfloor frac{n}{6}rightrfloor -1$ values of $p$ where $p$ is divisible by $3$ will not overlap any of the $leftlfloor frac{n}{6}rightrfloor -1$ values of $q$ where $q$ is divisible by $3$.



              So the formula for $g(n)$ in terms of $n$ for values of $n$ not divisible by $3$ is:



              $$g(n)=2leftlfloor frac{n}{6}rightrfloor -2$$



              The formula for $g(n)$ in terms of $f(n)$ for values of $n$ not divisible by $3$ is:



              $$g(n)=2leftlfloor frac{fleft(nright)+2}{3}rightrfloor -2$$



              Your guess about the limit for $frac{g(n)}{fleft(nright)}$ is also right:



              $$frac{g(n)}{fleft(nright)}=frac{2leftlfloor frac{n}{6}rightrfloor -2}{frac{n}{2}-2}=frac{frac{n}{3}-2}{frac{n}{2}-2}=frac{2n-12}{3n-12}$$



              $$lim_{nrightarrowinfty}frac{2n-12}{3n-12}=frac{2infty-12}{3infty-12}=frac{2infty}{3infty}=frac{2}{3}left(frac{infty}{infty}right)=frac{2}{3}$$






              share|cite|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                The sum of $2$ multiples of $k$ is also a multiple of $k$. Therefore, if $n$ is not divisible by $3$, we know that the $leftlfloor frac{n}{6}rightrfloor -1$ values of $p$ where $p$ is divisible by $3$ will not overlap any of the $leftlfloor frac{n}{6}rightrfloor -1$ values of $q$ where $q$ is divisible by $3$.



                So the formula for $g(n)$ in terms of $n$ for values of $n$ not divisible by $3$ is:



                $$g(n)=2leftlfloor frac{n}{6}rightrfloor -2$$



                The formula for $g(n)$ in terms of $f(n)$ for values of $n$ not divisible by $3$ is:



                $$g(n)=2leftlfloor frac{fleft(nright)+2}{3}rightrfloor -2$$



                Your guess about the limit for $frac{g(n)}{fleft(nright)}$ is also right:



                $$frac{g(n)}{fleft(nright)}=frac{2leftlfloor frac{n}{6}rightrfloor -2}{frac{n}{2}-2}=frac{frac{n}{3}-2}{frac{n}{2}-2}=frac{2n-12}{3n-12}$$



                $$lim_{nrightarrowinfty}frac{2n-12}{3n-12}=frac{2infty-12}{3infty-12}=frac{2infty}{3infty}=frac{2}{3}left(frac{infty}{infty}right)=frac{2}{3}$$






                share|cite|improve this answer









                $endgroup$



                The sum of $2$ multiples of $k$ is also a multiple of $k$. Therefore, if $n$ is not divisible by $3$, we know that the $leftlfloor frac{n}{6}rightrfloor -1$ values of $p$ where $p$ is divisible by $3$ will not overlap any of the $leftlfloor frac{n}{6}rightrfloor -1$ values of $q$ where $q$ is divisible by $3$.



                So the formula for $g(n)$ in terms of $n$ for values of $n$ not divisible by $3$ is:



                $$g(n)=2leftlfloor frac{n}{6}rightrfloor -2$$



                The formula for $g(n)$ in terms of $f(n)$ for values of $n$ not divisible by $3$ is:



                $$g(n)=2leftlfloor frac{fleft(nright)+2}{3}rightrfloor -2$$



                Your guess about the limit for $frac{g(n)}{fleft(nright)}$ is also right:



                $$frac{g(n)}{fleft(nright)}=frac{2leftlfloor frac{n}{6}rightrfloor -2}{frac{n}{2}-2}=frac{frac{n}{3}-2}{frac{n}{2}-2}=frac{2n-12}{3n-12}$$



                $$lim_{nrightarrowinfty}frac{2n-12}{3n-12}=frac{2infty-12}{3infty-12}=frac{2infty}{3infty}=frac{2}{3}left(frac{infty}{infty}right)=frac{2}{3}$$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Dec 23 '18 at 1:57









                François HuppéFrançois Huppé

                357111




                357111






























                    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%2f3038250%2fhow-many-pairs-x-y-such-that-xy-n-have-an-x-or-y-divisible-by-3-but%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

                    Bressuire

                    Cabo Verde

                    Gyllenstierna