Maths Olympiad Prep

Track / Stage 5 / 375 of 400 #1455 of 2444

Problem 1455

AIME late
Algebra Difficulty 5.9 Prove it Romanian Mathematical Olympiad · Romania

Let pp and nn be positive integers, with p2p \ge 2, and let aa be a real number such that 1a<a+np1 \le a < a + n \le p. Prove that the set
{log2x+log3x++logpxxR, axa+n} \{ \lfloor \log_2 x \rfloor + \lfloor \log_3 x \rfloor + \dots + \lfloor \log_p x \rfloor \mid x \in \mathbb{R},\ a \le x \le a + n \}
has exactly n+1n + 1 elements.

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.

Next problem →

Official solution

Let f(x)=k=2plogkxf(x) = \sum_{k=2}^{p} \lfloor \log_k x \rfloor and let M={f(x)x[a,a+n]}M = \{f(x) \mid x \in [a, a+n]\}. It is easy to show that if k2k \ge 2 is a positive integer, then logkx=logkx\lfloor \log_k \lfloor x \rfloor \rfloor = \lfloor \log_k x \rfloor. This implies that f(x)=f(x)f(x) = f(\lfloor x \rfloor), for all x[1,)x \in [1, \infty), and hence M={f(x)xS}M = \{f(x) \mid x \in S\}, where S={a,a+1,,a+n}S = \{\lfloor a \rfloor, \lfloor a \rfloor + 1, \dots, \lfloor a \rfloor + n\} has n+1n+1 elements. On the other hand, for sSs \in S, s<a+nps < \lfloor a \rfloor + n \le p, we have s+1{2,3,,p}s+1 \in \{2, 3, \dots, p\}, and
f(s+1)f(s)=k=2p(logk(s+1)logks)logs+1(s+1)logs+1s=1, f(s+1)-f(s) = \sum_{k=2}^{p} (\lfloor \log_k(s+1) \rfloor - \lfloor \log_k s \rfloor) \ge \lfloor \log_{s+1}(s+1) \rfloor - \lfloor \log_{s+1} s \rfloor = 1,
therefore f(s+1)>f(s)f(s+1) > f(s), and this proves that MM has exactly n+1n+1 elements.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.