1

Assuming a and b are integers, I must prove directly that: $$ (a + b)^3 \equiv (a^3 + b^3) \mod 3 $$ First, my peers and I made the mistake of assuming what we are trying to prove and thus failed. I've tried expanding $(a + b)^3$ into $a^3 + b^3 + 3(a^2)b + 3a(b^2)$ but I'm not sure where to go from there.

I keep wanting to use the definition of congruence (a≡b(modn) means $a - b = nk$ for some integer $k$) but I believe that is restricted since it is the conclusion I'm trying to prove. I'm not really sure how to get this started.

Przemysław Scherwentke
  • 13,668
  • 5
  • 35
  • 56

2 Answers2

2

we have $(a+b)^3=a^3+b^3+3(a^2b+ab^2)\equiv a^3+b^3 \mod 3$

1

You already got $(a+b)^3 = a^3 + b^3 + 3(a^2b + ab^2)$. What can you now say -- just as an equation, forgetting about congruence for the moment -- about the difference $[(a+b)^3 - (a^3+b^3)]$? Now how does that compare to the definition of congruence?