DR.WANG Mathematics中文

1964 IMO · Question 1

Number theory · divisibility

Problem outline

For a positive integer nn, (a) determine exactly when 7∣2n−17\mid 2^n-1, and (b) show that 7∣2n+17\mid 2^n+1 never occurs.

Show answer and methods 1 methods

Answer

(a) The positive multiples of 33. (b) There are no such positive integers.

Method 1 List one cycle of powers

Write n=3q+rn=3q+r with 0≤r<30\le r<3. Since 23=8≡1(mod7)2^3=8\equiv1\pmod7, the residue of 2n2^n is that of 2r2^r. For r=0,1,2r=0,1,2 these residues are 1,2,41,2,4, respectively.

In (a) we need residue 11, which occurs exactly when r=0r=0. In (b) we need residue −1≡6(mod7)-1\equiv6\pmod7, which is absent from the list.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)