Problem 2
For which pairs of positive integers is the sequence , , eventually constant?
Step 4 of 5: Use to pin down a and b modulo M
In plain words
Since equals , the modulus also divides , meaning it divides and directly; combined with and both being modulo , this forces and to each be modulo .
Detailed analysis
Since and (Step 3), also , so and . Using , this gives and , i.e. .