Let a 1 , a 2 , a 3 , … be a sequence of non-negative integers defined as follows: ⎩ ⎨ ⎧ a 1 a k + 1 = 0 = i = 1 , 2 , … , k max { i + a i + a k + 1 − i } for k ≥ 1 . Find the value of a 2 0 0 .
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.
The induction is a little easier than this, since ( i + ( 2 i ) + ( 2 k + 1 − i ) = ( 2 k + 1 ) + i ( i − k ) 1 ≤ i ≤ k and so the maximum of m a x 1 ≤ i ≤ k ( i + a i + a k + 1 − i ) is always achieved for i = k .
Log in to reply
I tried to keep the proof as simple as possible. :P
However, you are still correct.
Log in to reply
What motivates you to start with STRONG induction? Obviously Mark Henning's approach is (always) the best, but why didn't you use "normal induction" instead? Or is "STRONG induction" a more systematic way to prove it?
Log in to reply
@Pi Han Goh – I am using strong induction too, since I need to assume that a j = 2 1 j ( j − 1 ) for 1 ≤ j ≤ k to use my formula (which is basically the same as Arjen's.
My solutions are not always the best...
Log in to reply
@Mark Hennings – Wait, Arjen's solution IS strong induction? I must have misread it. Let me read it up again....
Claim : a k = 2 1 k ( k − 1 ) .
Proof : The claim is obviously true for k = 1 .
Suppose the claim is true for all k ≤ n . Let 1 ≤ i ≤ n , and z = i − 2 1 ( n + 1 ) . Then i + a i + a n + 1 − i = 2 1 ( n + 1 ) + z + 2 1 ( 2 1 ( n + 1 ) − z ) ( 2 1 ( n + 1 ) − z − 1 ) + 2 1 ( 2 1 ( n + 1 ) + z ) ( 2 1 ( n + 1 ) + z − 1 ) = 4 1 n 2 + 2 1 n + ( z + 2 1 ) 2 , which is maximal when ∣ z + 2 1 ∣ is greatest; this happens for i = n , with z = 2 1 ( n − 1 ) .
The recursion reduces to a n + 1 = 4 1 n 2 + 2 1 n + ( 2 1 n ) 2 = 2 1 n ( n + 1 ) , showing that the claim also holds for k = n + 1 . This finishes the induction.
Oh this is much simpler than the author's solution. And I thought I need to force myself to apply a "harder induction version" to solve this problem. I wonder:
Is it true that we can solve all "strong induction problems" using "standard induction" alone?
Log in to reply
I did use "strong induction", though, by applying the assumption to all a i and a n + 1 − i for i ≤ k ≤ n .
There is no real formal difference. Proving " P ( n ) " with strong induction is the same as proving " ∀ k ≤ n , P ( k ) " with standard induction.
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Strong Induction
Exploring this sequence, you would find that this sequence is actually just triangular numbers. Let's try and prove that a n = 0 + 1 + 2 + … + ( n − 1 ) via strong induction.
The base case, n = 1 is already given.
For the inductive part, assume a n = 0 + 1 + 2 + 3 + ⋯ + ( n − 1 ) for n ≤ k . We know
a k + 1 = i = 1 , 2 , … , k max { i + a i + a k + 1 − i } ( 1 )
We claim that the max in ( 1 ) occurs when i = k . For this, it is sufficient to prove that whenever i < k , we have
k + a k + a 1 > i + a i + a k + 1 − i
But since a 1 = 0 and k > i , it suffices to show
a k − a i ≥ a k + i − 1
Using the inductive assumption, we have
a k − a i = ( 0 + 1 + 2 + … + ( k − 1 ) ) − ( 0 + 1 + 2 + … + ( i − 1 ) ) = i + ( i + 1 ) + ⋯ + ( k − 1 ) ( 2 )
and
a k + 1 − i = 0 + 1 + 2 + ⋯ + ( k − i ) = 1 + 2 + ⋯ + ( k − i ) ( 3 )
Observe that both RHS of ( 2 ) and ( 3 ) consist of k − i consecutive terms. Since the first term in ( 2 ) must be at least as big as ( 3 ) , our claim must hold true.
Therefore, we have
a k + 1 = i = 1 , 2 , … , k max { i + a i + a k + 1 − i } = k + a k + a 1 = k + ( 0 + 1 + 2 + … + ( k − 1 ) ) + 0 = 0 + 1 + 2 + ⋯ + k
This completes our induction.
Now we can apply the well-known triangular numbers formula a n = 2 n ( n − 1 ) to get
a 2 0 0 = 2 2 0 0 × 1 9 9 = 1 9 9 0 0 .