Modular Arithmetic: Find Multiples, Understand the Reason

  • Context: Undergrad 
  • Thread starter Thread starter rashida564
  • Start date Start date
  • Tags Tags
    Arithmetic
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
rashida564
Messages
220
Reaction score
7
TL;DR
Find a ∈ Z such that a^6 ≡ a mod 6
Hi everyone, I can find multiple of number for example 2,3,4 and so on. But is there any reason why those number does work.
 
Mathematics news on Phys.org
Is it try and error method?
 
Another way to look at it is that your congruence is equivalent to the two simultaneous congruences ##a^6\equiv a \mod 2## and ##a^6\equiv a\mod 3##. The first congruence is always true, and the second is true when ##a\equiv 0,1\mod 3##, but fails when ##a\equiv 2\mod 3##.
 
  • Like
Likes   Reactions: jedishrfu and mfb
rashida564 said:
Is it try and error method?
Where did you see try and error? Factorization to investigate factors is a quite natural thing.

##a^6\equiv a \operatorname{mod} 6 ## is defined as ##6\,|\,a^6-a##, so factoring the polynomial ##a^6-a## is the next thing to do. After that, it becomes clear that ##2\,|\,a^6-6## in any case, as ##a(a-1)\,|\,a^6-a##. So, we are left with what @Infrared has said, the divisor ##3##. We have that ##3## divides ##a(a-1)## iff ##3\,|\,a \Longleftrightarrow a\equiv 0 \operatorname{mod} 3## or ##3\,|\,(a-1) \Longleftrightarrow a\equiv 1\operatorname{mod} 3## because ##3## is prime. Thus we are left with all numbers ##a \equiv 2 \operatorname{mod} 3##, i.e. ##a=3n+2## and ##6\,|\,a^6-a \Longleftrightarrow 3\,|\,a^4+a^3+a^2+a+1## for those numbers. However, if ##a=3n+2## it is easy to see, that ##a^4+a^3+a^2+a+1 =3m+2## which is never divisible by ##3##.
 
  • Like
Likes   Reactions: jedishrfu
I see quicker that ##(3n+2)^6 = 3m + 1## (because I can use ##x^6 = (x^2)^3## ) than I see the same for ##a^4+a^3+a^2+a+1 =3m+2##
 
  • Like
Likes   Reactions: jedishrfu