Let be a function from the set of positive integers to the set of non-negative integers such that and is defined as of above for all . Determine the value of .
Note: The maximum in the definition of is considered over all such that , i.e for all for which and are defined.
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.
First of all, it is easy to see that f is unique, since the recursion generates a unique sequence. Now we claim the following :
Claim : f ( n ) = 2 n ( n − 1 ) , ∀ n ≥ 1
In view of the uniqueness of the solution, it is sufficient to show that the proposed function satisfies the recursion for all n ≥ 1 . We proceed by induction. The base case holds for n = 1 . Assume that the claim holds for n = m , ( m ≥ 1 ) . We will show that the claim holds for n = m + 1 .
It is easy to see that the proposed function f is convex. Hence by the property of convexity, we have for all 1 ≤ j ≤ m f ( m ) − f ( m + 1 − j ) ≥ f ( j ) − f ( 1 ) i.e., f ( m ) + f ( 1 ) ≥ f ( j ) + f ( m + 1 − j ) This implies that for all 1 ≤ j ≤ m , we have f ( m ) + f ( 1 ) + m ≥ f ( j ) + f ( m + 1 − j ) + j Hence, 1 ≤ j ≤ m max ( f ( j ) + f ( m + 1 − j ) + j ) = f ( m ) + f ( 1 ) + m = 2 m ( m + 1 ) Which completes the induction step for n = m + 1 and we are done proving the claim.