Solve equation $n^4+n^2+1=p$, where p is prime number











up vote
3
down vote

favorite












If $n in mathbb N$ and $p$ is prime number solve equation $n^4+n^2+1=p$ i can write that like this
$$n^4+2n^2-n^2+1=p$$
$$(n^2+1)^2-n^2=(n^2+1-n)(n^2+1+n)=p=1 cdot p$$
Since $n^2+1+n>1$ then $n^2+1-n=1$ so $n=0$ or $n=1$ if I put $n=0$ then $p=1$ that is not true since one is not prime number, then $n=1$ and $p=3$, is this ok?










share|cite|improve this question




















  • 2




    Yes. ${}{}{}{}{}$
    – Jean-Claude Arbaut
    Nov 21 at 20:09










  • ah it depends on what level of seriousness you have in number theory really, for stack exchange yes by the looks of the popular vote is saying this proof is ok, but this would not qualify by my standards.
    – Adam
    Nov 25 at 3:27










  • You have stated that your aim is to solve an equation when one does this, it means they have obtained all possible solutions to that equation given it's stated definitions. If $p$ can be any prime, you have a solution set that is infinite right? You have stated nothing of the nature of the cardinality of your solution set and so I do recommend you looking into learning about this.
    – Adam
    Nov 25 at 3:30

















up vote
3
down vote

favorite












If $n in mathbb N$ and $p$ is prime number solve equation $n^4+n^2+1=p$ i can write that like this
$$n^4+2n^2-n^2+1=p$$
$$(n^2+1)^2-n^2=(n^2+1-n)(n^2+1+n)=p=1 cdot p$$
Since $n^2+1+n>1$ then $n^2+1-n=1$ so $n=0$ or $n=1$ if I put $n=0$ then $p=1$ that is not true since one is not prime number, then $n=1$ and $p=3$, is this ok?










share|cite|improve this question




















  • 2




    Yes. ${}{}{}{}{}$
    – Jean-Claude Arbaut
    Nov 21 at 20:09










  • ah it depends on what level of seriousness you have in number theory really, for stack exchange yes by the looks of the popular vote is saying this proof is ok, but this would not qualify by my standards.
    – Adam
    Nov 25 at 3:27










  • You have stated that your aim is to solve an equation when one does this, it means they have obtained all possible solutions to that equation given it's stated definitions. If $p$ can be any prime, you have a solution set that is infinite right? You have stated nothing of the nature of the cardinality of your solution set and so I do recommend you looking into learning about this.
    – Adam
    Nov 25 at 3:30















up vote
3
down vote

favorite









up vote
3
down vote

favorite











If $n in mathbb N$ and $p$ is prime number solve equation $n^4+n^2+1=p$ i can write that like this
$$n^4+2n^2-n^2+1=p$$
$$(n^2+1)^2-n^2=(n^2+1-n)(n^2+1+n)=p=1 cdot p$$
Since $n^2+1+n>1$ then $n^2+1-n=1$ so $n=0$ or $n=1$ if I put $n=0$ then $p=1$ that is not true since one is not prime number, then $n=1$ and $p=3$, is this ok?










share|cite|improve this question















If $n in mathbb N$ and $p$ is prime number solve equation $n^4+n^2+1=p$ i can write that like this
$$n^4+2n^2-n^2+1=p$$
$$(n^2+1)^2-n^2=(n^2+1-n)(n^2+1+n)=p=1 cdot p$$
Since $n^2+1+n>1$ then $n^2+1-n=1$ so $n=0$ or $n=1$ if I put $n=0$ then $p=1$ that is not true since one is not prime number, then $n=1$ and $p=3$, is this ok?







elementary-number-theory proof-verification diophantine-equations






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 21 at 20:07









Jean-Claude Arbaut

14.7k63363




14.7k63363










asked Nov 21 at 20:05









Marko Škorić

70310




70310








  • 2




    Yes. ${}{}{}{}{}$
    – Jean-Claude Arbaut
    Nov 21 at 20:09










  • ah it depends on what level of seriousness you have in number theory really, for stack exchange yes by the looks of the popular vote is saying this proof is ok, but this would not qualify by my standards.
    – Adam
    Nov 25 at 3:27










  • You have stated that your aim is to solve an equation when one does this, it means they have obtained all possible solutions to that equation given it's stated definitions. If $p$ can be any prime, you have a solution set that is infinite right? You have stated nothing of the nature of the cardinality of your solution set and so I do recommend you looking into learning about this.
    – Adam
    Nov 25 at 3:30
















  • 2




    Yes. ${}{}{}{}{}$
    – Jean-Claude Arbaut
    Nov 21 at 20:09










  • ah it depends on what level of seriousness you have in number theory really, for stack exchange yes by the looks of the popular vote is saying this proof is ok, but this would not qualify by my standards.
    – Adam
    Nov 25 at 3:27










  • You have stated that your aim is to solve an equation when one does this, it means they have obtained all possible solutions to that equation given it's stated definitions. If $p$ can be any prime, you have a solution set that is infinite right? You have stated nothing of the nature of the cardinality of your solution set and so I do recommend you looking into learning about this.
    – Adam
    Nov 25 at 3:30










2




2




Yes. ${}{}{}{}{}$
– Jean-Claude Arbaut
Nov 21 at 20:09




Yes. ${}{}{}{}{}$
– Jean-Claude Arbaut
Nov 21 at 20:09












ah it depends on what level of seriousness you have in number theory really, for stack exchange yes by the looks of the popular vote is saying this proof is ok, but this would not qualify by my standards.
– Adam
Nov 25 at 3:27




ah it depends on what level of seriousness you have in number theory really, for stack exchange yes by the looks of the popular vote is saying this proof is ok, but this would not qualify by my standards.
– Adam
Nov 25 at 3:27












You have stated that your aim is to solve an equation when one does this, it means they have obtained all possible solutions to that equation given it's stated definitions. If $p$ can be any prime, you have a solution set that is infinite right? You have stated nothing of the nature of the cardinality of your solution set and so I do recommend you looking into learning about this.
– Adam
Nov 25 at 3:30






You have stated that your aim is to solve an equation when one does this, it means they have obtained all possible solutions to that equation given it's stated definitions. If $p$ can be any prime, you have a solution set that is infinite right? You have stated nothing of the nature of the cardinality of your solution set and so I do recommend you looking into learning about this.
– Adam
Nov 25 at 3:30












1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










Besides punctuation, which I'd use more of in your case, the proof is perfect. Perhaps elaborate on some things a little more (like emphasizing you're taking $n^4+2n^2+1$ and turning those terms specifically into $(n^2+1)^2$, or showing that $n^2+1+n>1$) but the level of detail and preciseness always depends on the context.



In short, nicely done. Good work!






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%2f3008276%2fsolve-equation-n4n21-p-where-p-is-prime-number%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
    2
    down vote



    accepted










    Besides punctuation, which I'd use more of in your case, the proof is perfect. Perhaps elaborate on some things a little more (like emphasizing you're taking $n^4+2n^2+1$ and turning those terms specifically into $(n^2+1)^2$, or showing that $n^2+1+n>1$) but the level of detail and preciseness always depends on the context.



    In short, nicely done. Good work!






    share|cite|improve this answer

























      up vote
      2
      down vote



      accepted










      Besides punctuation, which I'd use more of in your case, the proof is perfect. Perhaps elaborate on some things a little more (like emphasizing you're taking $n^4+2n^2+1$ and turning those terms specifically into $(n^2+1)^2$, or showing that $n^2+1+n>1$) but the level of detail and preciseness always depends on the context.



      In short, nicely done. Good work!






      share|cite|improve this answer























        up vote
        2
        down vote



        accepted







        up vote
        2
        down vote



        accepted






        Besides punctuation, which I'd use more of in your case, the proof is perfect. Perhaps elaborate on some things a little more (like emphasizing you're taking $n^4+2n^2+1$ and turning those terms specifically into $(n^2+1)^2$, or showing that $n^2+1+n>1$) but the level of detail and preciseness always depends on the context.



        In short, nicely done. Good work!






        share|cite|improve this answer












        Besides punctuation, which I'd use more of in your case, the proof is perfect. Perhaps elaborate on some things a little more (like emphasizing you're taking $n^4+2n^2+1$ and turning those terms specifically into $(n^2+1)^2$, or showing that $n^2+1+n>1$) but the level of detail and preciseness always depends on the context.



        In short, nicely done. Good work!







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 21 at 20:22









        vrugtehagel

        10.7k1549




        10.7k1549






























            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%2f3008276%2fsolve-equation-n4n21-p-where-p-is-prime-number%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

            How do I know what Microsoft account the skydrive app is syncing to?

            When does type information flow backwards in C++?

            Grease: Live!