What is the smallest number n> 5 so that 5 ^ n ends with “3125”?How 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$.

What is this high flying aircraft over Pennsylvania?

Proving an identity involving cross products and coplanar vectors

What happens if I try to grapple mirror image?

Do I have to take mana from my deck or hand when tapping a dual land?

Would this string work as string?

Why do Radio Buttons not fill the entire outer circle?

Does Doodling or Improvising on the Piano Have Any Benefits?

SOQL query causes internal Salesforce error

"Oh no!" in Latin

Possible Eco thriller, man invents a device to remove rain from glass

If A is dense in Q, then it must be dense in R.

Proving a complicated language is not a CFL

How would a solely written language work mechanically

Overlapping circles covering polygon

How to preserve electronics (computers, iPads and phones) for hundreds of years

Check if object is null and return null

How do I tell my boss that I'm quitting in 15 days (a colleague left this week)

Animation: customize bounce interpolation

Deciphering cause of death?

What in this world is she trying to say?

If the only attacker is removed from combat, is a creature still counted as having attacked this turn?

What's the name of the logical fallacy where a debater extends a statement far beyond the original statement to make it true?

Make a Bowl of Alphabet Soup

How to leave product feedback on macOS?



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


How 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$.













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







New contributor




Catherine Cooper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$







  • 1




    $begingroup$
    What is your take on this?
    $endgroup$
    – ADITYA PRAKASH
    2 hours ago






  • 1




    $begingroup$
    Why not just list them out and find it?
    $endgroup$
    – Jair Taylor
    2 hours ago






  • 3




    $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
    2 hours ago















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







New contributor




Catherine Cooper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$







  • 1




    $begingroup$
    What is your take on this?
    $endgroup$
    – ADITYA PRAKASH
    2 hours ago






  • 1




    $begingroup$
    Why not just list them out and find it?
    $endgroup$
    – Jair Taylor
    2 hours ago






  • 3




    $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
    2 hours ago













1












1








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







New contributor




Catherine Cooper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$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







New contributor




Catherine Cooper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question







New contributor




Catherine Cooper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question






New contributor




Catherine Cooper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 hours ago









Catherine Cooper Catherine Cooper

291




291




New contributor




Catherine Cooper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Catherine Cooper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Catherine Cooper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 1




    $begingroup$
    What is your take on this?
    $endgroup$
    – ADITYA PRAKASH
    2 hours ago






  • 1




    $begingroup$
    Why not just list them out and find it?
    $endgroup$
    – Jair Taylor
    2 hours ago






  • 3




    $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
    2 hours ago












  • 1




    $begingroup$
    What is your take on this?
    $endgroup$
    – ADITYA PRAKASH
    2 hours ago






  • 1




    $begingroup$
    Why not just list them out and find it?
    $endgroup$
    – Jair Taylor
    2 hours ago






  • 3




    $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
    2 hours ago







1




1




$begingroup$
What is your take on this?
$endgroup$
– ADITYA PRAKASH
2 hours ago




$begingroup$
What is your take on this?
$endgroup$
– ADITYA PRAKASH
2 hours ago




1




1




$begingroup$
Why not just list them out and find it?
$endgroup$
– Jair Taylor
2 hours ago




$begingroup$
Why not just list them out and find it?
$endgroup$
– Jair Taylor
2 hours ago




3




3




$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
2 hours ago




$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
2 hours ago










4 Answers
4






active

oldest

votes


















4












$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$




















    2












    $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$




















      0












      $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
        2 hours ago






      • 1




        $begingroup$
        The question states that $ngt5$
        $endgroup$
        – Peter Foreman
        2 hours ago


















      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
        );



        );






        Catherine Cooper is a new contributor. Be nice, and check out our Code of Conduct.









        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









        4












        $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$


          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












            4








            4





            $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 2 hours ago









            Mostafa AyazMostafa Ayaz

            17k3939




            17k3939





















                2












                $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$

















                  2












                  $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$















                    2












                    2








                    2





                    $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 2 hours ago









                    Robert IsraelRobert Israel

                    328k23216469




                    328k23216469





















                        0












                        $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
                          2 hours ago






                        • 1




                          $begingroup$
                          The question states that $ngt5$
                          $endgroup$
                          – Peter Foreman
                          2 hours ago















                        0












                        $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
                          2 hours ago






                        • 1




                          $begingroup$
                          The question states that $ngt5$
                          $endgroup$
                          – Peter Foreman
                          2 hours ago













                        0












                        0








                        0





                        $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 2 hours ago

























                        answered 2 hours ago









                        Peter ForemanPeter Foreman

                        3,8371216




                        3,8371216











                        • $begingroup$
                          Why not $5^5 = 3125$.
                          $endgroup$
                          – fleablood
                          2 hours ago






                        • 1




                          $begingroup$
                          The question states that $ngt5$
                          $endgroup$
                          – Peter Foreman
                          2 hours ago
















                        • $begingroup$
                          Why not $5^5 = 3125$.
                          $endgroup$
                          – fleablood
                          2 hours ago






                        • 1




                          $begingroup$
                          The question states that $ngt5$
                          $endgroup$
                          – Peter Foreman
                          2 hours ago















                        $begingroup$
                        Why not $5^5 = 3125$.
                        $endgroup$
                        – fleablood
                        2 hours ago




                        $begingroup$
                        Why not $5^5 = 3125$.
                        $endgroup$
                        – fleablood
                        2 hours ago




                        1




                        1




                        $begingroup$
                        The question states that $ngt5$
                        $endgroup$
                        – Peter Foreman
                        2 hours ago




                        $begingroup$
                        The question states that $ngt5$
                        $endgroup$
                        – Peter Foreman
                        2 hours ago











                        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 4 mins ago

























                            answered 54 mins ago









                            Bill DubuqueBill Dubuque

                            212k29195654




                            212k29195654




















                                Catherine Cooper is a new contributor. Be nice, and check out our Code of Conduct.









                                draft saved

                                draft discarded


















                                Catherine Cooper is a new contributor. Be nice, and check out our Code of Conduct.












                                Catherine Cooper is a new contributor. Be nice, and check out our Code of Conduct.











                                Catherine Cooper is a new contributor. Be nice, and check out our Code of Conduct.














                                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

                                Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

                                Join wedge with single bond in chemfigHow to make only one part of double bond bold with chemfig?Crossing bonds in chemfigjoining atoms in chemfig. Two adjacent molculesHow do I selectively change bond length in chemfig?Ugly bond joints in chemfigchemfig: reaction above arrowUsing the mhchem and chemfig packages in conjunctionBonding to specific element letter using chemfigResonance hybrids in chemfigScale chemfig molecule in beamer with tikzWhy does this chemfig bond with a hook start in the middle of the atom?

                                Are small insurances worth itIs insurance worth it if you can afford to replace the item? If not, when is it?Is accident insurance worth it for my kids who play sportsIs insuring property for more than it is worth allowed?At what point does it become worth it to file an insurance claim?Are wage loss insurance programs worth the cost compared to having an emergency fund?When is an event worth insuring against?Is insurance worth it if you can afford to replace the item? If not, when is it?FHA loan just commenced : Any way to get any of the up-front mortgage insurance back?Which types of insurances do I need to buy?Should I carry less renter's insurance if I can self-insure?Mortgage Adviser Signed Me Up For Multiple Home and Life Insurances (UK)Why many travel insurances don't cover country of nationality?