Why Does \( a^3 \equiv a \mod 3 \) Hold for All Integers \( a \)?

  • Thread starter Thread starter RichardParker
  • Start date Start date
  • Tags Tags
    Integer Proof
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
4 replies · 2K views
RichardParker
Messages
23
Reaction score
0

Homework Statement



If a [tex]\in[/tex] Z, then [tex]a^3 \equiv a (mod 3)[/tex].

2. The attempt at a solution

Proof: Suppose a [tex]\in[/tex] Z. Thus a is either odd or even.

Case 1: Let a be even. Thus a = 2k, for some [tex]k[/tex] [tex]\in[/tex] Z. So [tex]a^3 - a = 8k^3 -2k = 2(4k^3 - k) = 2(k)(2k - 1)(2k + 1)[/tex]. Notice that, for all [tex]k[/tex] [tex]\in[/tex] Z, [tex](k)(2k - 1)(2k + 1) = 3b[/tex], for some [tex]b[/tex] [tex]\in[/tex] Z. Thus [tex]a^3 - a = 2*3b[/tex]. This means [tex]3|(a^3 - a)[/tex]. Therefore [tex]a^3 \equiv a (mod 3)[/tex].

(I did not continue with the case of a being odd.)

My question is how do I prove that [tex](k)(2k - 1)(2k + 1) = 3b[/tex], for some [tex]b[/tex] [tex]\in[/tex] Z, is it enough that [tex](k)(2k - 1)(2k + 1) = 3b[/tex] is observable on any k?
 
Last edited:
Physics news on Phys.org
Thanks for your reply.

Without assuming a even or odd,

a(a-1)(a+1) = 3b, for some b element of the set of integers. It is observable that a^3 - a is divisible by 3 for any value of a that I plug in. But how do I prove that this will hold for all a element of integers?

Thanks once again!
 
RichardParker said:
Thanks for your reply.

Without assuming a even or odd,

a(a-1)(a+1) = 3b, for some b element of the set of integers. It is observable that a^3 - a is divisible by 3 for any value of a that I plug in. But how do I prove that this will hold for all a element of integers?

Thanks once again!

Well, a-1, a, a+1 are three consecutive integers...
 
Proof: Fermat's Little Theorem! Q.E.D