What is the smallest number n> 5 so that 5 ^ n ends with “3125”? The Next CEO of Stack OverflowHow to prove that if $aequiv b pmodkn$ then $a^kequiv b^k pmodk^2n$Horizontal tank with hemispherical ends depth to capacity calculationDoes the smallest real number that satisfies $2^xge bx$ have logarithmic order?Determine the smallest number POptimization, find the dimensions of the poster with the smallest areaIs $s(t) = 1/(1+t^2)$ a bounded function? If so, find the smallest $M$Continous function approximating the precision of a number.What is the smallest value of this sequence?Find the smallest real number $agt 0$ for which the equation $a^x=x$ has no real solutionsGiven a point A (3,4) What is the smallest segment passing through A and makes a right triangle with the coordinates$f(n) =$ the smallest prime factor of $n$. Prove that the number of solutions to the equation $f(x) = 2016$.

Unreliable Magic - Is it worth it?

Why did CATV standarize in 75 ohms and everyone else in 50?

Why does the flight controls check come before arming the autobrake on the A320?

Math-accent symbol over parentheses enclosing accented symbol (amsmath)

Why is quantifier elimination desirable for a given theory?

Beveled cylinder cutout

Proper way to express "He disappeared them"

How did people program for Consoles with multiple CPUs?

Solving system of ODEs with extra parameter

Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?

What happens if you roll doubles 3 times then land on "Go to jail?"

Is it possible to replace duplicates of a character with one character using tr

Why is information "lost" when it got into a black hole?

Ubuntu shell scripting

What happened in Rome, when the western empire "fell"?

Domestic-to-international connection at Orlando (MCO)

Received an invoice from my ex-employer billing me for training; how to handle?

Writing differences on a blackboard

Which one is the true statement?

If a black hole is created from light, can this black hole then move at the speed of light?

I want to make a picture in physics with TikZ. Can you help me?

How to count occurrences of text in a file?

What flight has the highest ratio of time difference to flight time?

Is there a way to bypass a component in series in a circuit if that component fails?



What is the smallest number n> 5 so that 5 ^ n ends with “3125”?



The Next CEO of Stack OverflowHow to prove that if $aequiv b pmodkn$ then $a^kequiv b^k pmodk^2n$Horizontal tank with hemispherical ends depth to capacity calculationDoes the smallest real number that satisfies $2^xge bx$ have logarithmic order?Determine the smallest number POptimization, find the dimensions of the poster with the smallest areaIs $s(t) = 1/(1+t^2)$ a bounded function? If so, find the smallest $M$Continous function approximating the precision of a number.What is the smallest value of this sequence?Find the smallest real number $agt 0$ for which the equation $a^x=x$ has no real solutionsGiven a point A (3,4) What is the smallest segment passing through A and makes a right triangle with the coordinates$f(n) =$ the smallest prime factor of $n$. Prove that the number of solutions to the equation $f(x) = 2016$.










2












$begingroup$


What is the smallest number n> 5 so that 5 ^ n ends with "3125"?



What other examples are there?










share|cite|improve this question









$endgroup$







  • 1




    $begingroup$
    What is your take on this?
    $endgroup$
    – ADITYA PRAKASH
    Mar 20 at 20:01






  • 1




    $begingroup$
    Why not just list them out and find it?
    $endgroup$
    – Jair Taylor
    Mar 20 at 20:02






  • 4




    $begingroup$
    Why not just do it? It's not $1$ because $5^1=5$. It's not $2$ because $5^2 = 25$. What's to keep you from just continuing?
    $endgroup$
    – fleablood
    Mar 20 at 20:20










  • $begingroup$
    The answer to "What is the smallest such n>5?" is easy, so you might as well retitle the question "What are all n>5 such that...?"
    $endgroup$
    – smci
    Mar 20 at 23:55
















2












$begingroup$


What is the smallest number n> 5 so that 5 ^ n ends with "3125"?



What other examples are there?










share|cite|improve this question









$endgroup$







  • 1




    $begingroup$
    What is your take on this?
    $endgroup$
    – ADITYA PRAKASH
    Mar 20 at 20:01






  • 1




    $begingroup$
    Why not just list them out and find it?
    $endgroup$
    – Jair Taylor
    Mar 20 at 20:02






  • 4




    $begingroup$
    Why not just do it? It's not $1$ because $5^1=5$. It's not $2$ because $5^2 = 25$. What's to keep you from just continuing?
    $endgroup$
    – fleablood
    Mar 20 at 20:20










  • $begingroup$
    The answer to "What is the smallest such n>5?" is easy, so you might as well retitle the question "What are all n>5 such that...?"
    $endgroup$
    – smci
    Mar 20 at 23:55














2












2








2


1



$begingroup$


What is the smallest number n> 5 so that 5 ^ n ends with "3125"?



What other examples are there?










share|cite|improve this question









$endgroup$




What is the smallest number n> 5 so that 5 ^ n ends with "3125"?



What other examples are there?







calculus






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Mar 20 at 19:59









Catherine Cooper Catherine Cooper

243




243







  • 1




    $begingroup$
    What is your take on this?
    $endgroup$
    – ADITYA PRAKASH
    Mar 20 at 20:01






  • 1




    $begingroup$
    Why not just list them out and find it?
    $endgroup$
    – Jair Taylor
    Mar 20 at 20:02






  • 4




    $begingroup$
    Why not just do it? It's not $1$ because $5^1=5$. It's not $2$ because $5^2 = 25$. What's to keep you from just continuing?
    $endgroup$
    – fleablood
    Mar 20 at 20:20










  • $begingroup$
    The answer to "What is the smallest such n>5?" is easy, so you might as well retitle the question "What are all n>5 such that...?"
    $endgroup$
    – smci
    Mar 20 at 23:55













  • 1




    $begingroup$
    What is your take on this?
    $endgroup$
    – ADITYA PRAKASH
    Mar 20 at 20:01






  • 1




    $begingroup$
    Why not just list them out and find it?
    $endgroup$
    – Jair Taylor
    Mar 20 at 20:02






  • 4




    $begingroup$
    Why not just do it? It's not $1$ because $5^1=5$. It's not $2$ because $5^2 = 25$. What's to keep you from just continuing?
    $endgroup$
    – fleablood
    Mar 20 at 20:20










  • $begingroup$
    The answer to "What is the smallest such n>5?" is easy, so you might as well retitle the question "What are all n>5 such that...?"
    $endgroup$
    – smci
    Mar 20 at 23:55








1




1




$begingroup$
What is your take on this?
$endgroup$
– ADITYA PRAKASH
Mar 20 at 20:01




$begingroup$
What is your take on this?
$endgroup$
– ADITYA PRAKASH
Mar 20 at 20:01




1




1




$begingroup$
Why not just list them out and find it?
$endgroup$
– Jair Taylor
Mar 20 at 20:02




$begingroup$
Why not just list them out and find it?
$endgroup$
– Jair Taylor
Mar 20 at 20:02




4




4




$begingroup$
Why not just do it? It's not $1$ because $5^1=5$. It's not $2$ because $5^2 = 25$. What's to keep you from just continuing?
$endgroup$
– fleablood
Mar 20 at 20:20




$begingroup$
Why not just do it? It's not $1$ because $5^1=5$. It's not $2$ because $5^2 = 25$. What's to keep you from just continuing?
$endgroup$
– fleablood
Mar 20 at 20:20












$begingroup$
The answer to "What is the smallest such n>5?" is easy, so you might as well retitle the question "What are all n>5 such that...?"
$endgroup$
– smci
Mar 20 at 23:55





$begingroup$
The answer to "What is the smallest such n>5?" is easy, so you might as well retitle the question "What are all n>5 such that...?"
$endgroup$
– smci
Mar 20 at 23:55











4 Answers
4






active

oldest

votes


















5












$begingroup$


So, we are looking for all $n>5$ for which $5^nequiv 3125=5^5mod 10000$.




Note that the following equivalence holds for $n>5$:$$5^nequiv 5^5mod 10000\iff \5^n-4equiv 5mod 16\iff\5^n-5equiv 1mod 16$$Define $mtriangleq n-5ge 1$. Then all the $m$s for which $5^mequiv 1mod 16$ holds are $$m=4kquad,quad kin Bbb N$$this is because $5^4=625equiv 1mod 16$ and therefore $$5^4kequiv5^4k-4equivcdots equiv 5^4equiv 1mod 16$$



Conclusion




All $n>5$s for which $5^n$ ends up with $3125$ can be found from $$n=4k+5quad,quad kin Bbb N$$ and the smallest such $n$ is 9.







share|cite|improve this answer









$endgroup$




















    4












    $begingroup$

    Hint: $5^n equiv 5^5 mod 10^4$ if and only if $5^n equiv 5^5 mod 2^4$. What is the multiplicative order of $5$ mod $16$?






    share|cite|improve this answer









    $endgroup$




















      1












      $begingroup$

      Well
      $$5^9=1953125$$
      so the answer is $9$. In fact
      $$5^nequiv 5^n-4 mod10^4$$
      For $nge 8$, so any value of $5^5+4k$ where $kinmathbbN$ has the last four digits $3125$.






      share|cite|improve this answer











      $endgroup$












      • $begingroup$
        Why not $5^5 = 3125$.
        $endgroup$
        – fleablood
        Mar 20 at 20:20






      • 2




        $begingroup$
        The question states that $ngt5$
        $endgroup$
        – Peter Foreman
        Mar 20 at 20:22


















      0












      $begingroup$

      Hint $, 5^large 5+N! bmod 10^large 4 = 5^large 5(5^largecolor#c00 N! bmod 2^large 4).,$ Now recall $, beginalign 5, &equiv 1!pmod! color#c004 \ Rightarrow 5^largecolor#c00 4!&equiv 1^largecolor#c00 4!!!! pmod!color#c004^large 2endalign$






      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%2f3155943%2fwhat-is-the-smallest-number-n-5-so-that-5-n-ends-with-3125%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









        5












        $begingroup$


        So, we are looking for all $n>5$ for which $5^nequiv 3125=5^5mod 10000$.




        Note that the following equivalence holds for $n>5$:$$5^nequiv 5^5mod 10000\iff \5^n-4equiv 5mod 16\iff\5^n-5equiv 1mod 16$$Define $mtriangleq n-5ge 1$. Then all the $m$s for which $5^mequiv 1mod 16$ holds are $$m=4kquad,quad kin Bbb N$$this is because $5^4=625equiv 1mod 16$ and therefore $$5^4kequiv5^4k-4equivcdots equiv 5^4equiv 1mod 16$$



        Conclusion




        All $n>5$s for which $5^n$ ends up with $3125$ can be found from $$n=4k+5quad,quad kin Bbb N$$ and the smallest such $n$ is 9.







        share|cite|improve this answer









        $endgroup$

















          5












          $begingroup$


          So, we are looking for all $n>5$ for which $5^nequiv 3125=5^5mod 10000$.




          Note that the following equivalence holds for $n>5$:$$5^nequiv 5^5mod 10000\iff \5^n-4equiv 5mod 16\iff\5^n-5equiv 1mod 16$$Define $mtriangleq n-5ge 1$. Then all the $m$s for which $5^mequiv 1mod 16$ holds are $$m=4kquad,quad kin Bbb N$$this is because $5^4=625equiv 1mod 16$ and therefore $$5^4kequiv5^4k-4equivcdots equiv 5^4equiv 1mod 16$$



          Conclusion




          All $n>5$s for which $5^n$ ends up with $3125$ can be found from $$n=4k+5quad,quad kin Bbb N$$ and the smallest such $n$ is 9.







          share|cite|improve this answer









          $endgroup$















            5












            5








            5





            $begingroup$


            So, we are looking for all $n>5$ for which $5^nequiv 3125=5^5mod 10000$.




            Note that the following equivalence holds for $n>5$:$$5^nequiv 5^5mod 10000\iff \5^n-4equiv 5mod 16\iff\5^n-5equiv 1mod 16$$Define $mtriangleq n-5ge 1$. Then all the $m$s for which $5^mequiv 1mod 16$ holds are $$m=4kquad,quad kin Bbb N$$this is because $5^4=625equiv 1mod 16$ and therefore $$5^4kequiv5^4k-4equivcdots equiv 5^4equiv 1mod 16$$



            Conclusion




            All $n>5$s for which $5^n$ ends up with $3125$ can be found from $$n=4k+5quad,quad kin Bbb N$$ and the smallest such $n$ is 9.







            share|cite|improve this answer









            $endgroup$




            So, we are looking for all $n>5$ for which $5^nequiv 3125=5^5mod 10000$.




            Note that the following equivalence holds for $n>5$:$$5^nequiv 5^5mod 10000\iff \5^n-4equiv 5mod 16\iff\5^n-5equiv 1mod 16$$Define $mtriangleq n-5ge 1$. Then all the $m$s for which $5^mequiv 1mod 16$ holds are $$m=4kquad,quad kin Bbb N$$this is because $5^4=625equiv 1mod 16$ and therefore $$5^4kequiv5^4k-4equivcdots equiv 5^4equiv 1mod 16$$



            Conclusion




            All $n>5$s for which $5^n$ ends up with $3125$ can be found from $$n=4k+5quad,quad kin Bbb N$$ and the smallest such $n$ is 9.








            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Mar 20 at 20:17









            Mostafa AyazMostafa Ayaz

            18.2k31040




            18.2k31040





















                4












                $begingroup$

                Hint: $5^n equiv 5^5 mod 10^4$ if and only if $5^n equiv 5^5 mod 2^4$. What is the multiplicative order of $5$ mod $16$?






                share|cite|improve this answer









                $endgroup$

















                  4












                  $begingroup$

                  Hint: $5^n equiv 5^5 mod 10^4$ if and only if $5^n equiv 5^5 mod 2^4$. What is the multiplicative order of $5$ mod $16$?






                  share|cite|improve this answer









                  $endgroup$















                    4












                    4








                    4





                    $begingroup$

                    Hint: $5^n equiv 5^5 mod 10^4$ if and only if $5^n equiv 5^5 mod 2^4$. What is the multiplicative order of $5$ mod $16$?






                    share|cite|improve this answer









                    $endgroup$



                    Hint: $5^n equiv 5^5 mod 10^4$ if and only if $5^n equiv 5^5 mod 2^4$. What is the multiplicative order of $5$ mod $16$?







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Mar 20 at 20:12









                    Robert IsraelRobert Israel

                    330k23218473




                    330k23218473





















                        1












                        $begingroup$

                        Well
                        $$5^9=1953125$$
                        so the answer is $9$. In fact
                        $$5^nequiv 5^n-4 mod10^4$$
                        For $nge 8$, so any value of $5^5+4k$ where $kinmathbbN$ has the last four digits $3125$.






                        share|cite|improve this answer











                        $endgroup$












                        • $begingroup$
                          Why not $5^5 = 3125$.
                          $endgroup$
                          – fleablood
                          Mar 20 at 20:20






                        • 2




                          $begingroup$
                          The question states that $ngt5$
                          $endgroup$
                          – Peter Foreman
                          Mar 20 at 20:22















                        1












                        $begingroup$

                        Well
                        $$5^9=1953125$$
                        so the answer is $9$. In fact
                        $$5^nequiv 5^n-4 mod10^4$$
                        For $nge 8$, so any value of $5^5+4k$ where $kinmathbbN$ has the last four digits $3125$.






                        share|cite|improve this answer











                        $endgroup$












                        • $begingroup$
                          Why not $5^5 = 3125$.
                          $endgroup$
                          – fleablood
                          Mar 20 at 20:20






                        • 2




                          $begingroup$
                          The question states that $ngt5$
                          $endgroup$
                          – Peter Foreman
                          Mar 20 at 20:22













                        1












                        1








                        1





                        $begingroup$

                        Well
                        $$5^9=1953125$$
                        so the answer is $9$. In fact
                        $$5^nequiv 5^n-4 mod10^4$$
                        For $nge 8$, so any value of $5^5+4k$ where $kinmathbbN$ has the last four digits $3125$.






                        share|cite|improve this answer











                        $endgroup$



                        Well
                        $$5^9=1953125$$
                        so the answer is $9$. In fact
                        $$5^nequiv 5^n-4 mod10^4$$
                        For $nge 8$, so any value of $5^5+4k$ where $kinmathbbN$ has the last four digits $3125$.







                        share|cite|improve this answer














                        share|cite|improve this answer



                        share|cite|improve this answer








                        edited Mar 20 at 20:16

























                        answered Mar 20 at 20:11









                        Peter ForemanPeter Foreman

                        4,9051216




                        4,9051216











                        • $begingroup$
                          Why not $5^5 = 3125$.
                          $endgroup$
                          – fleablood
                          Mar 20 at 20:20






                        • 2




                          $begingroup$
                          The question states that $ngt5$
                          $endgroup$
                          – Peter Foreman
                          Mar 20 at 20:22
















                        • $begingroup$
                          Why not $5^5 = 3125$.
                          $endgroup$
                          – fleablood
                          Mar 20 at 20:20






                        • 2




                          $begingroup$
                          The question states that $ngt5$
                          $endgroup$
                          – Peter Foreman
                          Mar 20 at 20:22















                        $begingroup$
                        Why not $5^5 = 3125$.
                        $endgroup$
                        – fleablood
                        Mar 20 at 20:20




                        $begingroup$
                        Why not $5^5 = 3125$.
                        $endgroup$
                        – fleablood
                        Mar 20 at 20:20




                        2




                        2




                        $begingroup$
                        The question states that $ngt5$
                        $endgroup$
                        – Peter Foreman
                        Mar 20 at 20:22




                        $begingroup$
                        The question states that $ngt5$
                        $endgroup$
                        – Peter Foreman
                        Mar 20 at 20:22











                        0












                        $begingroup$

                        Hint $, 5^large 5+N! bmod 10^large 4 = 5^large 5(5^largecolor#c00 N! bmod 2^large 4).,$ Now recall $, beginalign 5, &equiv 1!pmod! color#c004 \ Rightarrow 5^largecolor#c00 4!&equiv 1^largecolor#c00 4!!!! pmod!color#c004^large 2endalign$






                        share|cite|improve this answer











                        $endgroup$

















                          0












                          $begingroup$

                          Hint $, 5^large 5+N! bmod 10^large 4 = 5^large 5(5^largecolor#c00 N! bmod 2^large 4).,$ Now recall $, beginalign 5, &equiv 1!pmod! color#c004 \ Rightarrow 5^largecolor#c00 4!&equiv 1^largecolor#c00 4!!!! pmod!color#c004^large 2endalign$






                          share|cite|improve this answer











                          $endgroup$















                            0












                            0








                            0





                            $begingroup$

                            Hint $, 5^large 5+N! bmod 10^large 4 = 5^large 5(5^largecolor#c00 N! bmod 2^large 4).,$ Now recall $, beginalign 5, &equiv 1!pmod! color#c004 \ Rightarrow 5^largecolor#c00 4!&equiv 1^largecolor#c00 4!!!! pmod!color#c004^large 2endalign$






                            share|cite|improve this answer











                            $endgroup$



                            Hint $, 5^large 5+N! bmod 10^large 4 = 5^large 5(5^largecolor#c00 N! bmod 2^large 4).,$ Now recall $, beginalign 5, &equiv 1!pmod! color#c004 \ Rightarrow 5^largecolor#c00 4!&equiv 1^largecolor#c00 4!!!! pmod!color#c004^large 2endalign$







                            share|cite|improve this answer














                            share|cite|improve this answer



                            share|cite|improve this answer








                            edited Mar 20 at 22:24

























                            answered Mar 20 at 21:34









                            Bill DubuqueBill Dubuque

                            213k29196654




                            213k29196654



























                                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%2f3155943%2fwhat-is-the-smallest-number-n-5-so-that-5-n-ends-with-3125%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

                                He _____ here since 1970 . Answer needed [closed]What does “since he was so high” mean?Meaning of “catch birds for”?How do I ensure “since” takes the meaning I want?“Who cares here” meaningWhat does “right round toward” mean?the time tense (had now been detected)What does the phrase “ring around the roses” mean here?Correct usage of “visited upon”Meaning of “foiled rail sabotage bid”It was the third time I had gone to Rome or It is the third time I had been to Rome

                                Bunad

                                Færeyskur hestur Heimild | Tengill | Tilvísanir | LeiðsagnarvalRossið - síða um færeyska hrossið á færeyskuGott ár hjá færeyska hestinum