Answer on Question #71820 – Math – Discrete Mathematics
Question
Prove that for any integer n such that n≡2mod3, nk≡1 or 2 (mod 3), where k∈N
Solution
From n≡2mod3 we can write n as n=3t+2, where t is integer number.
Consider
nk=(3t+2)k.
Using formula
(a+b)k=i=0∑k(ik)ak−ibi,(3t+2)k=(0k)(3t)k+(1k)(3t)k−121+⋯+(k−1k)(3t)12k−1+(kk)2k.
Obviously,
((0k)(3t)k+(1k)(3t)k−121+⋯+(k−1k)(3t)12k−1)≡0mod3
because each term of the sum has a multiplier of 3.
Therefore,
nk≡(3t+2)k≡2kmod3.
Using the principle of mathematical induction verify statement
2k≡1mod3 or 2k≡2mod3 for k∈N.
For k=1 and k=2 statement is true:
21≡2mod3,22≡4≡1mod3.
Let the statement be true for k=l:
2l≡1mod3 or 2l≡2mod3.
Consider k=l+1.
If 2l≡1mod3 then 2l+1≡2⋅2l≡2⋅1≡2mod3.
If 2l≡2mod3 then 2l+1≡2⋅2l≡2⋅2≡4≡1mod3.
Hence the statement 2l+1≡2mod3 or 2l+1≡1mod3 is true.
According to the principle of mathematical induction the statement is true for k∈N.
As a result, one gets nk≡2k≡1mod3 or nk≡2k≡2mod3.
Answer provided by https://www.AssignmentExpert.com