Maths Olympiad Prep

Track / Stage 5 / 371 of 400 #971 of 1964

Problem 971

AIME late
Number theory Difficulty 5.9 Prove it

1/2k For n>1n>1, let dt(n)=dt1(d(n))==d(d(d(d(n)))d_{t}(n)=d_{t-1}(d(n))=\cdots=d(d(d(\cdots d(n) \cdots)).
Prove: The sequence
d1(n)=d(n),d2(n),d3(n), d_{1}(n)=d(n), d_{2}(n), d_{3}(n), \cdots

is eventually always 2. Also, for any given positive integer mm, prove that there exists nn such that (1) it is 2 from the mm-th term onwards.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

When n>2n>2, 1 and nn are both positive divisors of nn. Since n1nn-1 \nmid n, we have 2d(n)<n2 \leqslant d(n)<n. Therefore, (1) is a decreasing sequence of natural numbers, which can only have a finite number of distinct terms, meaning from a certain term onward, the terms of (1) become the constant 2.

Also, d(2)=2d(2)=2 is the case for m=1m=1. Suppose there exists an nn such that the mm-th term of (1) starts to be 2. Then, since d(2n1)=nd\left(2^{n-1}\right)=n, we have d(2n1),d2(2n1),d\left(2^{n-1}\right), d_{2}\left(2^{n-1}\right), \cdots starting from the (m+1)(m+1)-th term, are 2.
Thus, the conclusion holds.

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