Maths Olympiad Prep

Library / /10 of 10

, 2011

Algebra Difficulty 6.0 National olympiad Prove it India

For each integer n1n \ge 1, define an=nna_n = \lfloor \frac{n}{\sqrt{n}} \rfloor, where x\lfloor x \rfloor denotes the largest integer not exceeding xx, for any real number xx. Find the number of all nn in the set {1,2,3,,2010}\{1, 2, 3, \dots, 2010\} for which an>an+1a_n > a_{n+1}.

Solution

Let us examine the first few natural numbers: 1,2,3,4,5,6,7,8,91, 2, 3, 4, 5, 6, 7, 8, 9. Here we see that an=1,2,3,2,2,3,3,4,3a_n = 1, 2, 3, 2, 2, 3, 3, 4, 3. We observe that anan+1a_n \le a_{n+1} for all nn except when n+1n+1 is a square in which case an>an+1a_n > a_{n+1}. We prove that this observation is valid in general. Consider the range

m2, m2+1, m2+2, , m2+m, m2+m+1, , m2+2m. m^2,\ m^2+1,\ m^2+2,\ \dots,\ m^2+m,\ m^2+m+1,\ \dots,\ m^2+2m.

Let nn take values in this range so that n=m2+rn = m^2 + r, where 0r2m0 \le r \le 2m. Then we see that n=m\lfloor \sqrt{n} \rfloor = m and hence
nn=m2+rm=m+rm. \lfloor \frac{n}{\sqrt{n}} \rfloor = \lfloor \frac{m^2 + r}{m} \rfloor = m + \lfloor \frac{r}{m} \rfloor.

Thus ana_n takes the values m,m,m,,mm times,m+1,m+1,m+1,,m+1m times,m+2\underbrace{m, m, m, \dots, m}_{m \text{ times}}, \underbrace{m+1, m+1, m+1, \dots, m+1}_{m \text{ times}}, m+2, in this range.

But when n=(m+1)2n = (m+1)^2, we see that an=m+1a_n = m+1. This shows that an1>ana_{n-1} > a_n whenever n=(m+1)2n = (m+1)^2. When we take nn in the set {1,2,3,,2010}\{1, 2, 3, \dots, 2010\}, we see that the only squares are 12,22,,4421^2, 2^2, \dots, 44^2 (since 442=193644^2 = 1936 and 452=202545^2 = 2025) and n=(m+1)2n = (m+1)^2 is possible for only 43 values of mm. Thus an>an+1a_n > a_{n+1} for 43 values of nn. (These are 221,321,,44212^2-1, 3^2-1, \dots, 44^2-1.)

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.