The following divisibility theorems are known:
If n is a natural number, then
an−bn is divisible by (a−b),an+bn is divisible by (a+b) if n is odd.
Using these theorems, we can prove the statement of our problem in several ways.
I. Solution: Let the given expression be denoted by F(n),
a) If n is even, i.e., n=2k (where k=1,2,3…), then write F(n) in the following form
F(2k)=(52k−1)+2(32k−1+1)
The first term on the right-hand side is divisible by (52−12)=24=3⋅8 according to (1), and the factor in parentheses in the second term is divisible by 3+1=4 according to (2), so the second term is divisible by 2⋅4=8.
b) If n is odd, i.e., n=2k+1 (where k=0,1,2,…), then for k=0, F(1)=5+2+1=8, and in all other cases
F(2k+1)=52k+1−5+2⋅32k+6=5(52k−1)+6(32k−1+1)
In this case, not only is the first term divisible by 24, but the second term is also divisible by 6⋅4=24. Therefore, for odd n greater than 1, the expression is not only divisible by 8, but also by 24.
II. Solution: a) If n=2k (where k=1,2,3,…), then F(n) can also be written as:
F(2k)=5⋅52k−1+5⋅32k−1−3⋅32k−1+1==5(52k−1+32k−1)−(9k−1)
The first term on the right-hand side is divisible by 5+3=8 according to (2), and the second term is divisible by 9−1=8 according to (1).
b) If n=2k+1 (where k=0,1,2,…), then
F(2k+1)=52k+1+(3−1)32k+1=(52k+1+32k+1)−(9k−1)
from which it follows, similarly to the previous case, that F(n) is divisible by 8.
Note: Many contestants used the polynomial representation of the power of a binomial, but as we have seen, the divisibility theorems (1) and (2) that require fewer prerequisites are sufficient. These can even be omitted if complete induction is used.
III. Solution: For n=1, the statement to be proved is true, because F(1)=8.
Assume that F(k) is divisible by 8, then it is sufficient to prove that F(k+1)−F(k) is also divisible by 8.
F(k+1)−F(k)=(5k+1+2⋅3k+1)−(5k+2⋅3k−1+1)==5⋅5k+6⋅3k−1+1−5k−2⋅3k−1−1=4(5k−1+3k−1)
The expression in parentheses, being the sum of two odd numbers, is an even number, and thus F(k+1)−F(k) is divisible by 4⋅2=8.