Prove if p is a prime number that does not divide a, then $a^p^2$ congruent to $a^pmod p^2$How to prove that if $aequiv b pmodkn$ then $a^kequiv b^k pmodk^2n$Prove that $x^2 equiv -1 pmod p$ has no solutions if prime $p equiv 3 pmod 4$.Show that Fermat's Little Theorem doesn't hold if p is not prime …Let $p$ be a prime and $q$ a prime divisor of $2^p -1$. Use Fermat's Little Theorem to prove that $qequiv 1 (mod space p)$How to select the right modulus to prove that there do not exist integers $a$ and $b$ such that $a^2+b^2=1234567$?Prove that if a $in mathbbZ$ then $a^3 equiv a(mod 3)$A prime number generator algorithm based on $x^2+(x-1)^2$ that generates only primesProof that there are infinitely many prime numbers $p$ such that $p-2$ is not prime.Prove that for integers $a$, $b$, and $n$, if $a$ and $b$ are each relatively prime to $n$, then the product $ab$ is also relatively prime to $n$.Prove that $4^n+ 1$ is not divisible by $3$How does one prove that a prime $p$ does not generate the multiplicative group of integers mod $4p-1$?

What (if any) is the reason to buy in small local stores?

"Marked down as someone wanting to sell shares." What does that mean?

Derivative of an interpolated function

How to get directions in deep space?

How to test the sharpness of a knife?

If the Dominion rule using their Jem'Hadar troops, why is their life expectancy so low?

What do the positive and negative (+/-) transmit and receive pins mean on Ethernet cables?

Trouble reading roman numeral notation with flats

Put the phone down / Put down the phone

Air travel with refrigerated insulin

Did I make a mistake by ccing email to boss to others?

Why does the frost depth increase when the surface temperature warms up?

Started in 1987 vs. Starting in 1987

Showing mass murder in a kid's book

Is this saw blade faulty?

Why do Radio Buttons not fill the entire outer circle?

What properties make a magic weapon befit a Rogue more than a DEX-based Fighter?

Relations between homogeneous polynomials

C++ lambda syntax

What is the purpose of using a decision tree?

Should I warn a new PhD Student?

Asserting that Atheism and Theism are both faith based positions

Why didn’t Eve recognize the little cockroach as a living organism?

Not hide and seek



Prove if p is a prime number that does not divide a, then $a^p^2$ congruent to $a^pmod p^2$


How to prove that if $aequiv b pmodkn$ then $a^kequiv b^k pmodk^2n$Prove that $x^2 equiv -1 pmod p$ has no solutions if prime $p equiv 3 pmod 4$.Show that Fermat's Little Theorem doesn't hold if p is not prime …Let $p$ be a prime and $q$ a prime divisor of $2^p -1$. Use Fermat's Little Theorem to prove that $qequiv 1 (mod space p)$How to select the right modulus to prove that there do not exist integers $a$ and $b$ such that $a^2+b^2=1234567$?Prove that if a $in mathbbZ$ then $a^3 equiv a(mod 3)$A prime number generator algorithm based on $x^2+(x-1)^2$ that generates only primesProof that there are infinitely many prime numbers $p$ such that $p-2$ is not prime.Prove that for integers $a$, $b$, and $n$, if $a$ and $b$ are each relatively prime to $n$, then the product $ab$ is also relatively prime to $n$.Prove that $4^n+ 1$ is not divisible by $3$How does one prove that a prime $p$ does not generate the multiplicative group of integers mod $4p-1$?













0












$begingroup$


I tried to do proof by contradiction, so I started to do use real arbitrary numbers. I decided I use p for prime still, but a being a multiple of p and by doing this, the statement is still true. I tried it with p=3, a =6 or p=2 and a =6. Anyways to solve it by contradiction or should I use another method










share|cite|improve this question









New contributor




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







$endgroup$
















    0












    $begingroup$


    I tried to do proof by contradiction, so I started to do use real arbitrary numbers. I decided I use p for prime still, but a being a multiple of p and by doing this, the statement is still true. I tried it with p=3, a =6 or p=2 and a =6. Anyways to solve it by contradiction or should I use another method










    share|cite|improve this question









    New contributor




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







    $endgroup$














      0












      0








      0


      1



      $begingroup$


      I tried to do proof by contradiction, so I started to do use real arbitrary numbers. I decided I use p for prime still, but a being a multiple of p and by doing this, the statement is still true. I tried it with p=3, a =6 or p=2 and a =6. Anyways to solve it by contradiction or should I use another method










      share|cite|improve this question









      New contributor




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







      $endgroup$




      I tried to do proof by contradiction, so I started to do use real arbitrary numbers. I decided I use p for prime still, but a being a multiple of p and by doing this, the statement is still true. I tried it with p=3, a =6 or p=2 and a =6. Anyways to solve it by contradiction or should I use another method







      modular-arithmetic






      share|cite|improve this question









      New contributor




      Kevin Wang 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




      Kevin Wang 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








      edited Mar 13 at 18:32









      Wuestenfux

      5,1721513




      5,1721513






      New contributor




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









      asked Mar 13 at 18:29









      Kevin WangKevin Wang

      241




      241




      New contributor




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





      New contributor





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






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




















          4 Answers
          4






          active

          oldest

          votes


















          3












          $begingroup$

          You have



          $$a^p^2 - a^p =a^p(a^p^2-p -1) =$$ $$ a^p(a^phi(p^2)-1)equiv a^p(1-1) pmodp^2,$$



          where Euler's theorem is used in the last step.






          share|cite|improve this answer









          $endgroup$




















            1












            $begingroup$

            Recall $ bequiv a pmod!m,Rightarrow,b^large mequiv a^large m pmod!m^large 2.,$ Put $,b=a^large p, m = p$






            share|cite|improve this answer









            $endgroup$












            • $begingroup$
              It's a special case of the polynomial double root test - as I explain in the linked answer.
              $endgroup$
              – Bill Dubuque
              Mar 13 at 22:13



















            0












            $begingroup$

            As by Fermat's little theorem $a^pequiv apmod p$ for any integer $a$



            $(a^p)^pequiv( a)^p$



            So, we don't need $pnmid a$






            share|cite|improve this answer









            $endgroup$




















              -1












              $begingroup$

              Simple, $phi(p^2)=(p-1)p$ and $p^2-(p-1)p=p$



              Therefore $a^pequiv a^p bmod p^2$ which is true.



              This generalizes to $a^p^nequiv a^p^n-1bmod p^n$






              share|cite|improve this answer









              $endgroup$












              • $begingroup$
                You can mark me down all you want it still holds.
                $endgroup$
                – Roddy MacPhee
                Mar 14 at 21:31










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



              );






              Kevin Wang 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%2f3146984%2fprove-if-p-is-a-prime-number-that-does-not-divide-a-then-ap2-congruent-to%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









              3












              $begingroup$

              You have



              $$a^p^2 - a^p =a^p(a^p^2-p -1) =$$ $$ a^p(a^phi(p^2)-1)equiv a^p(1-1) pmodp^2,$$



              where Euler's theorem is used in the last step.






              share|cite|improve this answer









              $endgroup$

















                3












                $begingroup$

                You have



                $$a^p^2 - a^p =a^p(a^p^2-p -1) =$$ $$ a^p(a^phi(p^2)-1)equiv a^p(1-1) pmodp^2,$$



                where Euler's theorem is used in the last step.






                share|cite|improve this answer









                $endgroup$















                  3












                  3








                  3





                  $begingroup$

                  You have



                  $$a^p^2 - a^p =a^p(a^p^2-p -1) =$$ $$ a^p(a^phi(p^2)-1)equiv a^p(1-1) pmodp^2,$$



                  where Euler's theorem is used in the last step.






                  share|cite|improve this answer









                  $endgroup$



                  You have



                  $$a^p^2 - a^p =a^p(a^p^2-p -1) =$$ $$ a^p(a^phi(p^2)-1)equiv a^p(1-1) pmodp^2,$$



                  where Euler's theorem is used in the last step.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Mar 13 at 18:36









                  B. GoddardB. Goddard

                  19.7k21442




                  19.7k21442





















                      1












                      $begingroup$

                      Recall $ bequiv a pmod!m,Rightarrow,b^large mequiv a^large m pmod!m^large 2.,$ Put $,b=a^large p, m = p$






                      share|cite|improve this answer









                      $endgroup$












                      • $begingroup$
                        It's a special case of the polynomial double root test - as I explain in the linked answer.
                        $endgroup$
                        – Bill Dubuque
                        Mar 13 at 22:13
















                      1












                      $begingroup$

                      Recall $ bequiv a pmod!m,Rightarrow,b^large mequiv a^large m pmod!m^large 2.,$ Put $,b=a^large p, m = p$






                      share|cite|improve this answer









                      $endgroup$












                      • $begingroup$
                        It's a special case of the polynomial double root test - as I explain in the linked answer.
                        $endgroup$
                        – Bill Dubuque
                        Mar 13 at 22:13














                      1












                      1








                      1





                      $begingroup$

                      Recall $ bequiv a pmod!m,Rightarrow,b^large mequiv a^large m pmod!m^large 2.,$ Put $,b=a^large p, m = p$






                      share|cite|improve this answer









                      $endgroup$



                      Recall $ bequiv a pmod!m,Rightarrow,b^large mequiv a^large m pmod!m^large 2.,$ Put $,b=a^large p, m = p$







                      share|cite|improve this answer












                      share|cite|improve this answer



                      share|cite|improve this answer










                      answered Mar 13 at 22:07









                      Bill DubuqueBill Dubuque

                      212k29195654




                      212k29195654











                      • $begingroup$
                        It's a special case of the polynomial double root test - as I explain in the linked answer.
                        $endgroup$
                        – Bill Dubuque
                        Mar 13 at 22:13

















                      • $begingroup$
                        It's a special case of the polynomial double root test - as I explain in the linked answer.
                        $endgroup$
                        – Bill Dubuque
                        Mar 13 at 22:13
















                      $begingroup$
                      It's a special case of the polynomial double root test - as I explain in the linked answer.
                      $endgroup$
                      – Bill Dubuque
                      Mar 13 at 22:13





                      $begingroup$
                      It's a special case of the polynomial double root test - as I explain in the linked answer.
                      $endgroup$
                      – Bill Dubuque
                      Mar 13 at 22:13












                      0












                      $begingroup$

                      As by Fermat's little theorem $a^pequiv apmod p$ for any integer $a$



                      $(a^p)^pequiv( a)^p$



                      So, we don't need $pnmid a$






                      share|cite|improve this answer









                      $endgroup$

















                        0












                        $begingroup$

                        As by Fermat's little theorem $a^pequiv apmod p$ for any integer $a$



                        $(a^p)^pequiv( a)^p$



                        So, we don't need $pnmid a$






                        share|cite|improve this answer









                        $endgroup$















                          0












                          0








                          0





                          $begingroup$

                          As by Fermat's little theorem $a^pequiv apmod p$ for any integer $a$



                          $(a^p)^pequiv( a)^p$



                          So, we don't need $pnmid a$






                          share|cite|improve this answer









                          $endgroup$



                          As by Fermat's little theorem $a^pequiv apmod p$ for any integer $a$



                          $(a^p)^pequiv( a)^p$



                          So, we don't need $pnmid a$







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Mar 13 at 18:32









                          lab bhattacharjeelab bhattacharjee

                          227k15158275




                          227k15158275





















                              -1












                              $begingroup$

                              Simple, $phi(p^2)=(p-1)p$ and $p^2-(p-1)p=p$



                              Therefore $a^pequiv a^p bmod p^2$ which is true.



                              This generalizes to $a^p^nequiv a^p^n-1bmod p^n$






                              share|cite|improve this answer









                              $endgroup$












                              • $begingroup$
                                You can mark me down all you want it still holds.
                                $endgroup$
                                – Roddy MacPhee
                                Mar 14 at 21:31















                              -1












                              $begingroup$

                              Simple, $phi(p^2)=(p-1)p$ and $p^2-(p-1)p=p$



                              Therefore $a^pequiv a^p bmod p^2$ which is true.



                              This generalizes to $a^p^nequiv a^p^n-1bmod p^n$






                              share|cite|improve this answer









                              $endgroup$












                              • $begingroup$
                                You can mark me down all you want it still holds.
                                $endgroup$
                                – Roddy MacPhee
                                Mar 14 at 21:31













                              -1












                              -1








                              -1





                              $begingroup$

                              Simple, $phi(p^2)=(p-1)p$ and $p^2-(p-1)p=p$



                              Therefore $a^pequiv a^p bmod p^2$ which is true.



                              This generalizes to $a^p^nequiv a^p^n-1bmod p^n$






                              share|cite|improve this answer









                              $endgroup$



                              Simple, $phi(p^2)=(p-1)p$ and $p^2-(p-1)p=p$



                              Therefore $a^pequiv a^p bmod p^2$ which is true.



                              This generalizes to $a^p^nequiv a^p^n-1bmod p^n$







                              share|cite|improve this answer












                              share|cite|improve this answer



                              share|cite|improve this answer










                              answered Mar 14 at 18:03









                              Roddy MacPheeRoddy MacPhee

                              436117




                              436117











                              • $begingroup$
                                You can mark me down all you want it still holds.
                                $endgroup$
                                – Roddy MacPhee
                                Mar 14 at 21:31
















                              • $begingroup$
                                You can mark me down all you want it still holds.
                                $endgroup$
                                – Roddy MacPhee
                                Mar 14 at 21:31















                              $begingroup$
                              You can mark me down all you want it still holds.
                              $endgroup$
                              – Roddy MacPhee
                              Mar 14 at 21:31




                              $begingroup$
                              You can mark me down all you want it still holds.
                              $endgroup$
                              – Roddy MacPhee
                              Mar 14 at 21:31










                              Kevin Wang is a new contributor. Be nice, and check out our Code of Conduct.









                              draft saved

                              draft discarded


















                              Kevin Wang is a new contributor. Be nice, and check out our Code of Conduct.












                              Kevin Wang is a new contributor. Be nice, and check out our Code of Conduct.











                              Kevin Wang 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%2f3146984%2fprove-if-p-is-a-prime-number-that-does-not-divide-a-then-ap2-congruent-to%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 should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer

                              random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

                              Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye