- 26,254
- 623
If you work out p(mod 12) for p a prime, what are the possibilities? Excepting 2 and 3. What does this imply for p^2(mod 12)?
Dick said:If you work out p(mod 12) for p a prime, what are the possibilities? Excepting 2 and 3. What does this imply for p^2(mod 12)?
mikeyflex said:Hi Dick,
The problem stated that p is a prime number that is greater than 3. When you work out p^2(mod 12) you get a remainder of 1 for every prime number square that is greater than 3. This is not the case with 2 or 3. I was wondering if there was some proof behind this.
matt grime said:For mikeyflex: every prime not equal to 2 or 3 is of the form 6m+1 or 6m-1 for some integer m. This completely explains your observation.
matticus said:to explain what matt's saying much farther than what needs to be done:
every prime greater than 3 can be written as 6k +1 or 6k -1 (which can be shown easily by a proof by cases).
(6k+1)^2 = 36k^2 + 12k + 1 = 12(3k^2 + k) + 1 = 1mod12
(6k - 1)^2 = 36k^2 -12k +1 = 12(3k^2 - k) + 1 = 1mod12
that's really all the "significance" involved in the observation