Nondecreasing Integer Sequence Two
   

   

 Math Help -> Puzzles -> Nondecreasing integer sequence 2 -> Answer 

>
>
Interesting Sum of a Nondecreasing Sequence

Let a1,a2,...,a2005 be a nondecreasing sequence of positive integers, with t defined as t=a2005.
Let bn be the smallest index, m, for which am ≥ n.
In terms of t, what is the smallest possible value of the sum a1+a2+...+a2005+b1+b2+...+bt ?

Answer: 2006t

Solution:

First, some definitions:
a1,a2,...,ap is a nondecreasing sequence of positive integers,
t is defined as t=ap,
bn is the smallest index, m, for which am ≥ n,
the sum Sp,t is defined by Sp,t=a1+a2+...+ap+b1+b2+...+bt;

I will prove by induction that Sp,t=(p+1)(t), regardless of the values of a1 through ap-1.

Proof:

The statement is true when p=1, because a1=t, and b1,b2,...,bt are all equal to 1.
So the sum of the a's is t, and the sum of the b's is also t, so S1,t=2t.

Then, in the induction step, we assume Sp,t=(p+1)(t), and introduce a new element ap+1=t+k, where k is a nonnegative integer.

Each of the b's in the range bt+1 through bt+k, of which there are zero or more, are equal to p+1, so their sum is (p+1)(k)

Sp+1,t+k=Sp,t+ap+1+bt+1+bt+2+...+bt+k
Sp+1,t+k=(p+1)(t)+(t+k)+(p+1)(k)
Sp+1,t+k=(p+2)(t+k),

proving the statement.  Letting p=2005, t=a2005, and finding Sp,t=(p+1)(t) gives you the answer.

Related pages in this website

 
 

The webmaster and author of the Math Help site is Graeme McRae.
     [home]  [email]  [search]  [Links to Math Sites]  [Whiteboard]