CUMO B November 2026

Problem 1

Difficulty D 4.5

Problem

Find all positive integers such that

Solution

Answer
and all .
Proof

Let .

Claim 1. and , and .

Proof. and . Also , so .

Claim 2. .

Proof. By Claim 1, , so , and is invertible mod .

Claim 3. according as .

Proof. Immediate from .

For we have and , so divides none of , .

even. We need . If : , impossible as . If : , impossible. If : , impossible.

odd. We need . If : , so it always holds. If : , which (as ) holds only for . If : , impossible.

So the solutions are (indeed ) and the odd multiples of , i.e. .

Solved it another way? Send a written solution to [email protected]. The most interesting solution, with the solver's name, will be posted.