Olympiad Maths Prep

Track / Stage 7 / 262 of 300 #1662 of 2000

Problem 1662

National olympiad second round; IMO P1/P4
Number theory Difficulty 7.7 Prove it

For any positive integer nn, let
[list]
[*]τ(n)\tau(n) denote the number of positive integer divisors of nn,
[*]σ(n)\sigma(n) denote the sum of the positive integer divisors of nn, and
[*]φ(n)\varphi(n) denote the number of positive integers less than or equal to nn that are relatively prime to nn.
[/list]
Let a,b>1a,b > 1 be integers. Brandon has a calculator with three buttons that replace the integer nn currently displayed with τ(n)\tau(n), σ(n)\sigma(n), or φ(n)\varphi(n), respectively. Prove that if the calculator currently displays aa, then Brandon can make the calculator display bb after a finite (possibly empty) sequence of button presses.

[i]Proposed by Jaedon Whyte.[/i]

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

1. Initial Setup and Definitions:
- Let τ(n)\tau(n) denote the number of positive integer divisors of nn.
- Let σ(n)\sigma(n) denote the sum of the positive integer divisors of nn.
- Let φ(n)\varphi(n) denote the number of positive integers less than or equal to nn that are relatively prime to nn.
- We need to prove that for any integers a,b>1a, b > 1, Brandon can make the calculator display bb after a finite sequence of button presses starting from aa.

2. Reduction to a Simpler Problem:
- Notice that repeatedly applying τ\tau to any number nn will eventually reduce it to 22. This is because τ(n)\tau(n) is always at least 22 for any n>1n > 1 and τ(2)=2\tau(2) = 2.
- Therefore, it suffices to show that from 22, Brandon can reach any positive integer b>1b > 1.

3. Reaching Powers of 2:
- We need to show that Brandon can reach every power of 22.
- Observe that τ(2k)=k+1\tau(2^k) = k + 1. Hence, by applying τ\tau to 2k2^k, we can reach k+1k + 1.
- Conversely, φ(2k)=2k1\varphi(2^k) = 2^{k-1}. Thus, by applying φ\varphi to 2k2^k, we can reach 2k12^{k-1}.
- By iterating this process, we can reach arbitrarily large powers of 22.

4. Reaching Arbitrarily Large Numbers:
- To show that we can reach numbers with arbitrarily large ν2\nu_2 (the exponent of 22 in the prime factorization), consider the effect of φ\varphi on a number nn.
- Applying φ\varphi to a number nn decreases its νp\nu_p (exponent of any prime pp) by at most 11.
- Repeatedly applying φ\varphi will eventually reduce νp\nu_p to 00 for any prime pp.

5. Contradiction Argument:
- Suppose for contradiction that the νp\nu_p of any reachable number is bounded for any prime pp.
- Consider the number mm after repeatedly applying φ\varphi until it is of the form 2i3j2^i3^j, 2ip2^ip where p3p \neq 3 is an odd prime, or 2i2^i.
- The ν2\nu_2 of mm decreases by at most 11 each time φ\varphi is applied, and increases by some number ll.
- If l=1l = 1 for two consecutive applications of φ\varphi, then mm must have exactly one odd prime divisor pp without multiplicity, which is 3(mod4)3 \pmod{4} and not equal to 33.
- However, φ(m)\varphi(m) would then be divisible by at least two distinct odd primes, contradicting the assumption that l=1l = 1 for two consecutive applications.

6. Reaching Arbitrarily Large Numbers:
- Since σ(n)\sigma(n) generates arbitrarily large numbers, we can reach arbitrarily large numbers.
- For large enough reachable nn, repeated applications of φ\varphi starting from nn must result in a number of the form 2ipn2^ip_n for some prime pn>3p_n > 3.
- This implies that nf(n)\frac{n}{f(n)} (where f(n)f(n) is the largest prime divisor of nn) is bounded above, leading to a contradiction.

7. Conclusion:
- Therefore, Brandon can reach any positive integer b>1b > 1 from any starting integer a>1a > 1 using a finite sequence of button presses.

\blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.