Find the remainder obtained, when the number 1010+10(102)+.......+10(1010) is divided by 7.
Open in App
Solution
By Fermat's theorem =106≡1 mod 7 Hence, 106m=1mod7 for all m. Now 10≡4mod6,102≡40≡4mod6 By induction 10n≡4mod6foralln. Thus, 10n=6m+4 and 1010n=106m.104=104mod7 ≡4mod(7) consequently 1010+10102+.....+10(1010)≡4×10mod7 The remainder is 5