Question #337131

Show that if an integer n is not divisible by 3, then n2 – 1 must be a multiple of 3


Expert's answer

If nn is not divisible by 3, then either n=3k+1,k∈Zn=3k+1, k\in \Z or n=3m+2,n=3m+2, m∈Z.m\in \Z.

Then


n2−1=(3k+1)2−1=9k2+6kn^2-1=(3k+1)^2-1=9k^2+6k

=3(3k2+2k),k∈Z=3(3k^2+2k), k\in \Z

Let p=3k2+2k.p=3k^2+2k. We know that pp is an integer because kk is an integer. Therefore n2−1n^2-1 equals 3 times some integer. So n2−1n^2-1 is a multiple of 3.

Or


n2−1=(3m+2)2−1=9m2+12m+3n^2-1=(3m+2)^2-1=9m^2+12m+3

=3(3m2+4m+1),m∈Z=3(3m^2+4m+1), m\in \Z

Let q=3m2+4m+1.q=3m^2+4m+1. We know that qq is an integer because mm is an integer. Therefore n2−1n^2-1 equals 3 times some integer. So n2−1n^2-1 is a multiple of 3.

Therefore if an integer nn is not divisible by 3, then n2–1n^2 – 1 must be a multiple of 3.


LATEST TUTORIALS
APPROVED BY CLIENTS