Where is the flaw in this proof of Legendre's Conjecture?











up vote
0
down vote

favorite












Introduction



The following argument has been advanced by one of my friends which attempts to prove the Legendre's Conjecture. I could find no flaw in the argument and so I am posting it here in the hope that people here will be able to find a flaw in the argument.




Theorem. For all sufficiently large $xinmathbb{R}$ we have, $$pi((x+1)^2)-pi(x^2)>0$$where $pi(x)$ denotes the number of primes less than or equal to $x$.




Proof.
The proof assumes the following facts,



(1) $pi(x)>dfrac{x}{ln x}$ for all $xge 17$. (see this paper for details)



(2) For all $varepsilon>0$ $dfrac{x}{ln x-(1-varepsilon)}<pi(x)<dfrac{x}{ln x-(1+varepsilon)}$ for all $xge maxleft(227,exp(frac{1.51}{varepsilon})right)$. (see here)



We will show that $pi((x+1)^2)-pi(x^2)>0$ for all sufficiently large real $x$. For this observe that, for all sufficiently large $xinmathbb{R}$ we have, begin{align}pi(x^2)<dfrac{x^2}{2(ln x-2)}end{align} (which follows from (2) by chosing $varepsilon=3$) and $$pi((x+1)^2)>dfrac{(x+1)^2}{2ln (x+1)}$$by (1). So we have, begin{align}pi((x+1)^2)-pi(x^2)&>dfrac{(x+1)^2}{2ln (x+1)}-dfrac{x^2}{2(ln x-2)}end{align}
To prove the conjecture it suffices to show that,
$$dfrac{(x+1)^2}{2ln (x+1)}>dfrac{x^2}{2(ln x-2)}$$ To prove which it suffices to show that, $$dfrac{(x+1)^2}{2(ln (x+1)-2)}dfrac{2ln(x+1)-4}{ln (x+1)}>dfrac{x^2}{2(ln x-2)}$$Which holds for all sufficiently large $x$. So we are done.



Question



What is(are) the flaw(s) in the proof? I am sure that there must be some because if the argument were this easy, it would have been proved much earlier.










share|cite|improve this question




























    up vote
    0
    down vote

    favorite












    Introduction



    The following argument has been advanced by one of my friends which attempts to prove the Legendre's Conjecture. I could find no flaw in the argument and so I am posting it here in the hope that people here will be able to find a flaw in the argument.




    Theorem. For all sufficiently large $xinmathbb{R}$ we have, $$pi((x+1)^2)-pi(x^2)>0$$where $pi(x)$ denotes the number of primes less than or equal to $x$.




    Proof.
    The proof assumes the following facts,



    (1) $pi(x)>dfrac{x}{ln x}$ for all $xge 17$. (see this paper for details)



    (2) For all $varepsilon>0$ $dfrac{x}{ln x-(1-varepsilon)}<pi(x)<dfrac{x}{ln x-(1+varepsilon)}$ for all $xge maxleft(227,exp(frac{1.51}{varepsilon})right)$. (see here)



    We will show that $pi((x+1)^2)-pi(x^2)>0$ for all sufficiently large real $x$. For this observe that, for all sufficiently large $xinmathbb{R}$ we have, begin{align}pi(x^2)<dfrac{x^2}{2(ln x-2)}end{align} (which follows from (2) by chosing $varepsilon=3$) and $$pi((x+1)^2)>dfrac{(x+1)^2}{2ln (x+1)}$$by (1). So we have, begin{align}pi((x+1)^2)-pi(x^2)&>dfrac{(x+1)^2}{2ln (x+1)}-dfrac{x^2}{2(ln x-2)}end{align}
    To prove the conjecture it suffices to show that,
    $$dfrac{(x+1)^2}{2ln (x+1)}>dfrac{x^2}{2(ln x-2)}$$ To prove which it suffices to show that, $$dfrac{(x+1)^2}{2(ln (x+1)-2)}dfrac{2ln(x+1)-4}{ln (x+1)}>dfrac{x^2}{2(ln x-2)}$$Which holds for all sufficiently large $x$. So we are done.



    Question



    What is(are) the flaw(s) in the proof? I am sure that there must be some because if the argument were this easy, it would have been proved much earlier.










    share|cite|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Introduction



      The following argument has been advanced by one of my friends which attempts to prove the Legendre's Conjecture. I could find no flaw in the argument and so I am posting it here in the hope that people here will be able to find a flaw in the argument.




      Theorem. For all sufficiently large $xinmathbb{R}$ we have, $$pi((x+1)^2)-pi(x^2)>0$$where $pi(x)$ denotes the number of primes less than or equal to $x$.




      Proof.
      The proof assumes the following facts,



      (1) $pi(x)>dfrac{x}{ln x}$ for all $xge 17$. (see this paper for details)



      (2) For all $varepsilon>0$ $dfrac{x}{ln x-(1-varepsilon)}<pi(x)<dfrac{x}{ln x-(1+varepsilon)}$ for all $xge maxleft(227,exp(frac{1.51}{varepsilon})right)$. (see here)



      We will show that $pi((x+1)^2)-pi(x^2)>0$ for all sufficiently large real $x$. For this observe that, for all sufficiently large $xinmathbb{R}$ we have, begin{align}pi(x^2)<dfrac{x^2}{2(ln x-2)}end{align} (which follows from (2) by chosing $varepsilon=3$) and $$pi((x+1)^2)>dfrac{(x+1)^2}{2ln (x+1)}$$by (1). So we have, begin{align}pi((x+1)^2)-pi(x^2)&>dfrac{(x+1)^2}{2ln (x+1)}-dfrac{x^2}{2(ln x-2)}end{align}
      To prove the conjecture it suffices to show that,
      $$dfrac{(x+1)^2}{2ln (x+1)}>dfrac{x^2}{2(ln x-2)}$$ To prove which it suffices to show that, $$dfrac{(x+1)^2}{2(ln (x+1)-2)}dfrac{2ln(x+1)-4}{ln (x+1)}>dfrac{x^2}{2(ln x-2)}$$Which holds for all sufficiently large $x$. So we are done.



      Question



      What is(are) the flaw(s) in the proof? I am sure that there must be some because if the argument were this easy, it would have been proved much earlier.










      share|cite|improve this question















      Introduction



      The following argument has been advanced by one of my friends which attempts to prove the Legendre's Conjecture. I could find no flaw in the argument and so I am posting it here in the hope that people here will be able to find a flaw in the argument.




      Theorem. For all sufficiently large $xinmathbb{R}$ we have, $$pi((x+1)^2)-pi(x^2)>0$$where $pi(x)$ denotes the number of primes less than or equal to $x$.




      Proof.
      The proof assumes the following facts,



      (1) $pi(x)>dfrac{x}{ln x}$ for all $xge 17$. (see this paper for details)



      (2) For all $varepsilon>0$ $dfrac{x}{ln x-(1-varepsilon)}<pi(x)<dfrac{x}{ln x-(1+varepsilon)}$ for all $xge maxleft(227,exp(frac{1.51}{varepsilon})right)$. (see here)



      We will show that $pi((x+1)^2)-pi(x^2)>0$ for all sufficiently large real $x$. For this observe that, for all sufficiently large $xinmathbb{R}$ we have, begin{align}pi(x^2)<dfrac{x^2}{2(ln x-2)}end{align} (which follows from (2) by chosing $varepsilon=3$) and $$pi((x+1)^2)>dfrac{(x+1)^2}{2ln (x+1)}$$by (1). So we have, begin{align}pi((x+1)^2)-pi(x^2)&>dfrac{(x+1)^2}{2ln (x+1)}-dfrac{x^2}{2(ln x-2)}end{align}
      To prove the conjecture it suffices to show that,
      $$dfrac{(x+1)^2}{2ln (x+1)}>dfrac{x^2}{2(ln x-2)}$$ To prove which it suffices to show that, $$dfrac{(x+1)^2}{2(ln (x+1)-2)}dfrac{2ln(x+1)-4}{ln (x+1)}>dfrac{x^2}{2(ln x-2)}$$Which holds for all sufficiently large $x$. So we are done.



      Question



      What is(are) the flaw(s) in the proof? I am sure that there must be some because if the argument were this easy, it would have been proved much earlier.







      number-theory prime-numbers conjectures open-problem






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 7 at 5:58

























      asked Nov 7 at 5:27









      user 170039

      10.4k42463




      10.4k42463






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          5
          down vote



          accepted










          Well, from the second last line to the last line you go from



          $$frac{(x+1)^2}{2 ln(x+1)} >^{?} frac{x^2}{2 (ln(x) - 1)} $$



          and then you multiply the numerator and denominator of the LHS by $2 (ln(x+1) - 2) = 2 ln(x+1) - 4$ to get



          $$frac{(x+1)^2}{2 (ln(x+1) - 2)} frac{2 ln(x+1) - 4}{2 ln(x+1)} >^{?} frac{x^2}{2 (ln(x) - 1)} $$



          and then, for some unknown reason, you multiply the LHS by a factor of $2$ to get



          $$frac{(x+1)^2}{2 (ln(x+1) - 2)} frac{2 ln(x+1) - 4}{ ln(x+1)} > frac{x^2}{2 (ln(x) - 1)} $$



          So yeah, the last inequality holds (for large $x$) but not the previous two inequalities, because you left out the factor of $2$ in $2 ln(x+1)$. In fact, the first two (equivalent) inequalities just completely fail, so all this argument proves is the slightly less impressive inequality



          $$pi((x+1)^2) - pi(x^2) ge text{some negative number}$$



          which it turns out in fact can be deduced via more direct methods.






          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',
            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%2f2988173%2fwhere-is-the-flaw-in-this-proof-of-legendres-conjecture%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








            up vote
            5
            down vote



            accepted










            Well, from the second last line to the last line you go from



            $$frac{(x+1)^2}{2 ln(x+1)} >^{?} frac{x^2}{2 (ln(x) - 1)} $$



            and then you multiply the numerator and denominator of the LHS by $2 (ln(x+1) - 2) = 2 ln(x+1) - 4$ to get



            $$frac{(x+1)^2}{2 (ln(x+1) - 2)} frac{2 ln(x+1) - 4}{2 ln(x+1)} >^{?} frac{x^2}{2 (ln(x) - 1)} $$



            and then, for some unknown reason, you multiply the LHS by a factor of $2$ to get



            $$frac{(x+1)^2}{2 (ln(x+1) - 2)} frac{2 ln(x+1) - 4}{ ln(x+1)} > frac{x^2}{2 (ln(x) - 1)} $$



            So yeah, the last inequality holds (for large $x$) but not the previous two inequalities, because you left out the factor of $2$ in $2 ln(x+1)$. In fact, the first two (equivalent) inequalities just completely fail, so all this argument proves is the slightly less impressive inequality



            $$pi((x+1)^2) - pi(x^2) ge text{some negative number}$$



            which it turns out in fact can be deduced via more direct methods.






            share|cite|improve this answer



























              up vote
              5
              down vote



              accepted










              Well, from the second last line to the last line you go from



              $$frac{(x+1)^2}{2 ln(x+1)} >^{?} frac{x^2}{2 (ln(x) - 1)} $$



              and then you multiply the numerator and denominator of the LHS by $2 (ln(x+1) - 2) = 2 ln(x+1) - 4$ to get



              $$frac{(x+1)^2}{2 (ln(x+1) - 2)} frac{2 ln(x+1) - 4}{2 ln(x+1)} >^{?} frac{x^2}{2 (ln(x) - 1)} $$



              and then, for some unknown reason, you multiply the LHS by a factor of $2$ to get



              $$frac{(x+1)^2}{2 (ln(x+1) - 2)} frac{2 ln(x+1) - 4}{ ln(x+1)} > frac{x^2}{2 (ln(x) - 1)} $$



              So yeah, the last inequality holds (for large $x$) but not the previous two inequalities, because you left out the factor of $2$ in $2 ln(x+1)$. In fact, the first two (equivalent) inequalities just completely fail, so all this argument proves is the slightly less impressive inequality



              $$pi((x+1)^2) - pi(x^2) ge text{some negative number}$$



              which it turns out in fact can be deduced via more direct methods.






              share|cite|improve this answer

























                up vote
                5
                down vote



                accepted







                up vote
                5
                down vote



                accepted






                Well, from the second last line to the last line you go from



                $$frac{(x+1)^2}{2 ln(x+1)} >^{?} frac{x^2}{2 (ln(x) - 1)} $$



                and then you multiply the numerator and denominator of the LHS by $2 (ln(x+1) - 2) = 2 ln(x+1) - 4$ to get



                $$frac{(x+1)^2}{2 (ln(x+1) - 2)} frac{2 ln(x+1) - 4}{2 ln(x+1)} >^{?} frac{x^2}{2 (ln(x) - 1)} $$



                and then, for some unknown reason, you multiply the LHS by a factor of $2$ to get



                $$frac{(x+1)^2}{2 (ln(x+1) - 2)} frac{2 ln(x+1) - 4}{ ln(x+1)} > frac{x^2}{2 (ln(x) - 1)} $$



                So yeah, the last inequality holds (for large $x$) but not the previous two inequalities, because you left out the factor of $2$ in $2 ln(x+1)$. In fact, the first two (equivalent) inequalities just completely fail, so all this argument proves is the slightly less impressive inequality



                $$pi((x+1)^2) - pi(x^2) ge text{some negative number}$$



                which it turns out in fact can be deduced via more direct methods.






                share|cite|improve this answer














                Well, from the second last line to the last line you go from



                $$frac{(x+1)^2}{2 ln(x+1)} >^{?} frac{x^2}{2 (ln(x) - 1)} $$



                and then you multiply the numerator and denominator of the LHS by $2 (ln(x+1) - 2) = 2 ln(x+1) - 4$ to get



                $$frac{(x+1)^2}{2 (ln(x+1) - 2)} frac{2 ln(x+1) - 4}{2 ln(x+1)} >^{?} frac{x^2}{2 (ln(x) - 1)} $$



                and then, for some unknown reason, you multiply the LHS by a factor of $2$ to get



                $$frac{(x+1)^2}{2 (ln(x+1) - 2)} frac{2 ln(x+1) - 4}{ ln(x+1)} > frac{x^2}{2 (ln(x) - 1)} $$



                So yeah, the last inequality holds (for large $x$) but not the previous two inequalities, because you left out the factor of $2$ in $2 ln(x+1)$. In fact, the first two (equivalent) inequalities just completely fail, so all this argument proves is the slightly less impressive inequality



                $$pi((x+1)^2) - pi(x^2) ge text{some negative number}$$



                which it turns out in fact can be deduced via more direct methods.







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Nov 20 at 19:47









                Andrés E. Caicedo

                64.5k8157245




                64.5k8157245










                answered Nov 7 at 5:50









                Lorem Ipsum

                1312




                1312






























                    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%2f2988173%2fwhere-is-the-flaw-in-this-proof-of-legendres-conjecture%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