What is the remainder when 77+777+7777+77777.........+777777777 is divided by 8?
0
78 remainder = -1
Thus, any odd power of 7, when divided by 8, will give a remainder of -1 itself.
(−1)7+(−1)77+(−1)777......8
= -1-1-1-...8 times = - 8
The remainder when -8 is divided by 8, is 0.