Prove that there are no natural numbers $x$ whose digits are $0$ or $2$, such that $x$ is a perfect square.












1












$begingroup$


Prove that there are no natural numbers $x$ whose digits are $0$ or $2$, such that $x$ is a perfect square. I need some help here. I thought starting with $x = n * 10^k$ where $10^k$ represents the number of the zeros at the end of the number and $n$ is the group of digits which end with $2$ could help, but it didn't. Can anyone help?










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    It might be more fruitful to decompose $y = n cdot 10^k$ such that $10$ does not divide $n$, where $x = y^2$.
    $endgroup$
    – Daniel Schepler
    Jan 18 at 1:29






  • 7




    $begingroup$
    The last non-zero digit of a perfect square is always 1, 4, 5, 6, or 9.
    $endgroup$
    – TonyK
    Jan 18 at 1:31
















1












$begingroup$


Prove that there are no natural numbers $x$ whose digits are $0$ or $2$, such that $x$ is a perfect square. I need some help here. I thought starting with $x = n * 10^k$ where $10^k$ represents the number of the zeros at the end of the number and $n$ is the group of digits which end with $2$ could help, but it didn't. Can anyone help?










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    It might be more fruitful to decompose $y = n cdot 10^k$ such that $10$ does not divide $n$, where $x = y^2$.
    $endgroup$
    – Daniel Schepler
    Jan 18 at 1:29






  • 7




    $begingroup$
    The last non-zero digit of a perfect square is always 1, 4, 5, 6, or 9.
    $endgroup$
    – TonyK
    Jan 18 at 1:31














1












1








1





$begingroup$


Prove that there are no natural numbers $x$ whose digits are $0$ or $2$, such that $x$ is a perfect square. I need some help here. I thought starting with $x = n * 10^k$ where $10^k$ represents the number of the zeros at the end of the number and $n$ is the group of digits which end with $2$ could help, but it didn't. Can anyone help?










share|cite|improve this question









$endgroup$




Prove that there are no natural numbers $x$ whose digits are $0$ or $2$, such that $x$ is a perfect square. I need some help here. I thought starting with $x = n * 10^k$ where $10^k$ represents the number of the zeros at the end of the number and $n$ is the group of digits which end with $2$ could help, but it didn't. Can anyone help?







linear-algebra number-theory elementary-number-theory






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 18 at 1:11









Wolf M.Wolf M.

1097




1097








  • 1




    $begingroup$
    It might be more fruitful to decompose $y = n cdot 10^k$ such that $10$ does not divide $n$, where $x = y^2$.
    $endgroup$
    – Daniel Schepler
    Jan 18 at 1:29






  • 7




    $begingroup$
    The last non-zero digit of a perfect square is always 1, 4, 5, 6, or 9.
    $endgroup$
    – TonyK
    Jan 18 at 1:31














  • 1




    $begingroup$
    It might be more fruitful to decompose $y = n cdot 10^k$ such that $10$ does not divide $n$, where $x = y^2$.
    $endgroup$
    – Daniel Schepler
    Jan 18 at 1:29






  • 7




    $begingroup$
    The last non-zero digit of a perfect square is always 1, 4, 5, 6, or 9.
    $endgroup$
    – TonyK
    Jan 18 at 1:31








1




1




$begingroup$
It might be more fruitful to decompose $y = n cdot 10^k$ such that $10$ does not divide $n$, where $x = y^2$.
$endgroup$
– Daniel Schepler
Jan 18 at 1:29




$begingroup$
It might be more fruitful to decompose $y = n cdot 10^k$ such that $10$ does not divide $n$, where $x = y^2$.
$endgroup$
– Daniel Schepler
Jan 18 at 1:29




7




7




$begingroup$
The last non-zero digit of a perfect square is always 1, 4, 5, 6, or 9.
$endgroup$
– TonyK
Jan 18 at 1:31




$begingroup$
The last non-zero digit of a perfect square is always 1, 4, 5, 6, or 9.
$endgroup$
– TonyK
Jan 18 at 1:31










1 Answer
1






active

oldest

votes


















10












$begingroup$

Dividing by an appropriate power of $100$ we can ensure that the final two digits are not both $0$. But a simple search (or congruence argument) shows that none of $2,20,22$ are squares $pmod {100}$.






share|cite|improve this answer











$endgroup$














    Your Answer








    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%2f3077726%2fprove-that-there-are-no-natural-numbers-x-whose-digits-are-0-or-2-such-th%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









    10












    $begingroup$

    Dividing by an appropriate power of $100$ we can ensure that the final two digits are not both $0$. But a simple search (or congruence argument) shows that none of $2,20,22$ are squares $pmod {100}$.






    share|cite|improve this answer











    $endgroup$


















      10












      $begingroup$

      Dividing by an appropriate power of $100$ we can ensure that the final two digits are not both $0$. But a simple search (or congruence argument) shows that none of $2,20,22$ are squares $pmod {100}$.






      share|cite|improve this answer











      $endgroup$
















        10












        10








        10





        $begingroup$

        Dividing by an appropriate power of $100$ we can ensure that the final two digits are not both $0$. But a simple search (or congruence argument) shows that none of $2,20,22$ are squares $pmod {100}$.






        share|cite|improve this answer











        $endgroup$



        Dividing by an appropriate power of $100$ we can ensure that the final two digits are not both $0$. But a simple search (or congruence argument) shows that none of $2,20,22$ are squares $pmod {100}$.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Jan 18 at 2:27

























        answered Jan 18 at 1:15









        lulululu

        43.7k25081




        43.7k25081






























            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%2f3077726%2fprove-that-there-are-no-natural-numbers-x-whose-digits-are-0-or-2-such-th%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

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            File:DeusFollowingSea.jpg