Skip to main content
OlympiadHQ

Browse · MathNet

Print

CMO 2017

Canada 2017 number theory

Problem

Let be a function from the set of positive integers to itself such that, for every , the number of positive integer divisors of is equal to . For example, and . Prove that if is prime then is also prime.
Solution
Let denote the number of divisors of and observe that for all . Also note that because all divisors of are distinct positive integers between and , including and , and excluding if , it follows that for all . Furthermore and .

We first will show that . Let and note that . If , then let be the smallest positive integer satisfying that and . It follows that . By the minimality of , it follows that , which implies that . Therefore if , it follows that . It suffices to examine the case in which . If , then and furthermore, each prime satisfies that which implies that . Therefore which implies that for any prime . This implies that , which is a contradiction. Therefore and .

It now follows that if is prime then which implies that is prime.

Techniques

τ (number of divisors)Prime numbers