CUMO November 2026

Problem 1

Difficulty D 6.0

Also one of my original problems.

Problem

Find all functions such that for all positive integers and ,

Solution

Answer
Let be any map from the set of primes to itself with for every prime (for example the identity, or a map exchanging some pairs of primes). The solutions are exactly the functions that is, the functions with and for every prime and every .
Proof

Verification. For such and every prime we have , because is an involution. Hence, for every prime , As runs over all primes, so does . The left sides over all say , the right sides say , so the condition holds.

No other solutions. Let satisfy the condition, which we call .

Step 1. for all .

Proof. Taking in , the left side holds, so . Taking , the right side holds, so . Together, . In particular is a bijection and .

Step 2. .

Proof. Apply with and , and use .

Consequently, for every the map is a bijection from the divisors of onto the divisors of : it sends divisors to divisors by Step 2, it is injective, and every divisor of equals with by Step 2.

Step 3. .

Proof. Since for all , Step 2 gives for all . As is surjective, some has , so .

Step 4. maps primes to primes.

Proof. Let be prime. By the bijection above, has exactly as many divisors as , namely two, so is prime. Define ; by Step 1, .

Step 5. for every prime and .

Proof. If a prime divides , then by Step 2, ; as is prime, , so . Thus is a power of . It has divisors, like , so .

Step 6. Conclusion.

For every , every prime and every , Step 2 and Step 5 give Hence for every prime . Since is a bijection of the primes, this determines all prime exponents of , and has the stated form.

Handwritten solution

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