Olympiad Maths Prep

Track / Stage 5 / 199 of 400 #799 of 2000

Problem 799

AIME late
Number theory Difficulty 5.5 Prove it

1. Prove that the number A=21+22++21985A=2^{1}+2^{2}+\ldots+2^{1985} is divisible by 31.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

Solution. We have:

A=(2+22+23+24+25)+(26+27+28+29+210)++(21981+21982+21983+21984+21985)=2(1+2+22+23+24)+26(1+2+22+23+24)++21981(1+2+22+23+24)=31(2+26+211++21981) \begin{aligned} A & =\left(2+2^{2}+2^{3}+2^{4}+2^{5}\right)+\left(2^{6}+2^{7}+2^{8}+2^{9}+2^{10}\right)+\ldots+\left(2^{1981}+2^{1982}+2^{1983}+2^{1984}+2^{1985}\right) \\ & =2\left(1+2+2^{2}+2^{3}+2^{4}\right)+2^{6}\left(1+2+2^{2}+2^{3}+2^{4}\right)+\ldots+2^{1981}\left(1+2+2^{2}+2^{3}+2^{4}\right) \\ & =31\left(2+2^{6}+2^{11}+\ldots+2^{1981}\right) \end{aligned}

from which it follows that the number AA is divisible by 31.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.