MathLabs

Problem 2

Find one pair of positive integers a,ba,b such that ab(a+b)ab(a+b) is not divisible by 77, but (a+b)7−a7−b7(a+b)^7-a^7-b^7 is divisible by 777^7.
Step 1 of 3: Factor the seventh-power difference
In plain words

The seventh power supplies one factor of seven; the square supplies six more when its base is divisible by 737^3.

(a+b)7−a7−b7=7ab(a+b)(a2+ab+b2)2(a+b)^7-a^7-b^7=7ab(a+b)(a^2+ab+b^2)^2
Detailed analysis

Expanding (a+b)7(a+b)^7 and collecting the middle terms gives the displayed identity. Since the first factor 7ab(a+b)7ab(a+b) contributes exactly one factor of 77 when 7∤ab(a+b)7\nmid ab(a+b), it remains to make the quadratic factor divisible by 737^3.