When is x^n congruent to x^m (mod 3) for all x in Z^+?

  • Thread starter Thread starter freakfog
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 2K views
freakfog
Messages
1
Reaction score
0
(mentor note: moved here from another forum hence no template)

Hello, I need some help. For which ##m,n \in \mathbb{Z^+}## is ##x^n \equiv x^m \space \text{(mod 3)}## for all ##x \in \mathbb{Z^+}##? I have no clue how to solve this. According to the answer, ##n - m ## is an even integer. Anyone who can point me in the right direction? Thanks.
 
Last edited by a moderator:
Physics news on Phys.org
A quick simplification is to note:
##x^m \mod 3 \equiv (x \mod 3)^m \mod 3. ##