I bet you can't solve this

Algebra Level 5

The function f : N N f : \mathbb{N} \to \mathbb{N} satisfies the condition f ( m + n ) f ( m ) + f ( f ( n ) ) 1 f(m+n) \ge f(m)+f(f(n))-1 for all m , n N m,n \in \mathbb{N} . Find the sum of all possible values of f ( 2007 ) f(2007) .

Let this sum be k k . Submit your answer as the sum of digits of k k .

Assumption : N \mathbb{N} is the set of all positive integers.


The answer is 19.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Ivan Koswara
Feb 26, 2016

I claim that all of 1 , 2 , 3 , , 2008 1, 2, 3, \ldots, 2008 can be the value of f ( 2007 ) f(2007) , and no others. This means the sum is 1 + 2 + 3 + + 2008 = 2017036 1+2+3+\ldots+2008 = 2017036 and thus the sum of its digits is 2 + 0 + 1 + 7 + 0 + 3 + 6 = 19 2+0+1+7+0+3+6 = \boxed{19} .

First, the proof that all of them work. The following f f works, for k = 0 , 1 , 2 , , 2007 k = 0, 1, 2, \ldots, 2007 :

f ( n ) = k n 2007 + 1 \displaystyle f(n) = k \left\lfloor \frac{n}{2007} \right\rfloor + 1

If k < 2007 k < 2007 , then we can verify that f ( n ) n f(n) \le n for all n n . Also, we have the easy property x + y x + y \lfloor x+y \rfloor \ge \lfloor x \rfloor + \lfloor y \rfloor for all reals x , y x,y . Thus,

f ( m + n ) = k m + n 2007 + 1 k ( m 2007 + n 2007 ) + 1 k ( m 2007 + f ( n ) 2007 ) + 1 = k m 2007 + 1 + k f ( n ) 2007 + 1 1 = f ( m ) + f ( f ( n ) ) 1 \displaystyle\begin{aligned} f(m+n) &= k \left\lfloor \frac{m+n}{2007} \right\rfloor + 1 \\ &\ge k \left( \left\lfloor \frac{m}{2007} \right\rfloor + \left\lfloor \frac{n}{2007} \right\rfloor \right) + 1 \\ &\ge k \left( \left\lfloor \frac{m}{2007} \right\rfloor + \left\lfloor \frac{f(n)}{2007} \right\rfloor \right) + 1 \\ &= k \left\lfloor \frac{m}{2007} \right\rfloor + 1 + k \left\lfloor \frac{f(n)}{2007} \right\rfloor + 1 - 1 \\ &= f(m) + f(f(n)) - 1 \end{aligned}

For k = 2007 k = 2007 , we don't have the property that f ( n ) n f(n) \le n for all n n . We do still retain the property that n 2007 = f ( n ) 2007 \left\lfloor \frac{n}{2007} \right\rfloor = \left\lfloor \frac{f(n)}{2007} \right\rfloor , though:

f ( n ) 2007 = 2007 n / 2007 + 1 2007 = n 2007 + 1 2007 = n 2007 + 1 2007 = n 2007 \displaystyle\begin{aligned} \left\lfloor \frac{f(n)}{2007} \right\rfloor &= \left\lfloor \frac{2007 \lfloor n/2007 \rfloor + 1}{2007} \right\rfloor \\ &= \left\lfloor \left\lfloor \frac{n}{2007} \right\rfloor + \frac{1}{2007} \right\rfloor \\ &= \left\lfloor \frac{n}{2007} \right\rfloor + \left\lfloor \frac{1}{2007} \right\rfloor \\ &= \left\lfloor \frac{n}{2007} \right\rfloor \end{aligned}

Thus we can approach exactly as the above.

Now that we have proven those f f work, we simply plug in n = 2007 n = 2007 to get f ( 2007 ) = k + 1 f(2007) = k+1 . Since k k ranges from 0 to 2007, f ( 2007 ) f(2007) ranges from 1 to 2008.

To prove that no other value of f ( 2007 ) f(2007) is possible, it suffices to prove that f ( n ) n + 1 f(n) \le n+1 for all n n , so f ( 2007 ) 2008 f(2007) \le 2008 .

First, note that f ( f ( n ) ) 1 f(f(n)) \ge 1 (because f f has codomain the naturals), so f ( m + n ) f ( m ) + f ( f ( n ) ) 1 f ( m ) + 1 1 = f ( m ) f(m+n) \ge f(m) + f(f(n)) - 1 \ge f(m) + 1 - 1 = f(m) . In other words, f f is non-decreasing.

Now, suppose there exists some a a such that f ( a ) a + 2 f(a) \ge a+2 . We claim that f ( k a ) k ( a + 1 ) + 1 f(ka) \ge k(a+1) + 1 for all positive integer k k by induction on k k . The base case k = 1 k = 1 is just the assumption, and for the inductive step,

f ( ( k + 1 ) a ) = f ( k a + a ) f ( k a ) + f ( f ( a ) ) 1 k ( a + 1 ) + 1 + f ( a + 2 ) 1 k ( a + 1 ) + ( a + 2 ) = ( k + 1 ) ( a + 1 ) + 1 \begin{aligned} f((k+1)a) &= f(ka + a) \\ &\ge f(ka) + f(f(a)) - 1 \\ &\ge k(a+1) + 1 + f(a+2) - 1 \\ &\ge k(a+1) + (a+2) \\ &= (k+1)(a+1) + 1 \end{aligned}

In particular, for k = a k = a , we have f ( a 2 ) a 2 + a + 1 f(a^2) \ge a^2 + a + 1 . Thus,

f ( a + a 2 ) f ( a ) + f ( f ( a 2 ) ) 1 ( a + 2 ) + f ( a 2 + a + 1 ) 1 ( a + 1 ) + f ( a 2 + a ) \begin{aligned} f(a + a^2) &\ge f(a) + f(f(a^2)) - 1 \\ &\ge (a+2) + f(a^2 + a + 1) - 1 \\ &\ge (a+1) + f(a^2 + a) \end{aligned}

In other words, a 1 a \le -1 , contradiction. Thus there can be no such a a , proving that f ( n ) n + 1 f(n) \le n+1 for all n n . This completes the proof.

Moderator note:

Great approach to solving the functional equation.

Because of f ( f ( n ) ) f(f(n)) on the RHS, this means that f ( n ) f(n) cannot increase too quickly, otherwise the RHS will grow too large.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...