Forty non-zero positive numbers are written in a row.
The average of the first two numbers is 1.
The average of the second and third numbers is 2.
The average of the third and fourth numbers is 3 and so on.
What is the last number in the row?
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 question should have stated that the forty values are positive integers, because I can always use this sequence:
0 . 5 , 1 . 5 , 2 . 5 , 3 . 5 , … , 3 9 . 5
The requirements are satisfied, and I will get an answer of 3 9 . 5 .
Anyway, since the answer only takes integers, I'll assume that the sequence contains only integers
For two positive integers to add up to 2 , there is only one possibility: 1 + 1 = 2
The third number would then be: 2 × 2 − 1 = 3
The fourth number is: 3 × 2 − 3 = 3
5th number: 4 × 2 − 3 = 5
6th number: 5 × 2 − 5 = 5
From here, we can see that the numbers form a sequence of odd numbers, where each odd number is repeated before going to the next odd number:
1 , 1 , 3 , 3 , 5 , 5 , …
We want to find T 4 0 , and if you noticed, the 2nd, 4th, 6th numbers and so on form an arithmetic progression with 2 0 terms:
1 , 3 , 5 , … a = 1 , d = 2
T 4 0 is found to be the last term, T 2 0 , of the second progression, therefore
T 4 0 = 1 + ( 2 0 − 1 ) ( 2 ) = 3 9