CUMO November 2026

Problem 5

Difficulty D 7.5

Problem

Find all positive integers with the following property: for every positive divisor of , the number divides .

Solution

Answer
; for a prime ; and for a prime .
Proof

Write . The property is: for every divisor of . The divisor gives nothing.

Claim 1. gives the condition

Proof. Check the three residues of modulo .

The case is clear, and if is prime the only conditions are and , so by (1) the property holds exactly when .

Composite . Let be the smallest prime factor of and , so that and every prime factor of is at least . We use only the divisor .

Claim 2. if and only if and moreover

Proof. The identity shows that if and only if divides the positive integer . The inequality (3) holds since .

Step 1. is prime.

Proof. If , then by (3) the left side of (2) is less than , contradicting . Hence . As all prime factors of are at least , the number is a prime; call it .

Step 2. .

Proof. Suppose . From (2), (3) and we get , so . Expanding (2), Modulo this gives . Since , there is an integer with Substituting into (4) and dividing by gives , that is, Subtracting (5) from (6): . By (5), , so . Thus is a multiple of lying in the interval , hence it is . So and , and (5) becomes , i.e. . This contradicts .

Step 3. works exactly when .

Proof. So a composite with the property must be the square of a prime . Its divisors are . For , so always. For , by (1) we need , which holds exactly when .

Together with the cases and prime, this proves the answer.

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