Are you smarter than A 5th grader- Part 7

In the sequence 6,14,8,-6..... every term after the second is the difference of the previous two terms in reverse order. Find the sum of first 2010 terms


The answer is 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.

3 solutions

Abdessabour M
Jun 6, 2014

Let's take a i a_{i} a number from the sequence

We have a 1 a_{1} = 6 and a 2 a_{2} = 14 and a i a_{i} = a i 1 a_{i-1} - a i 2 a_{i-2} ( for i > 1)

Notice that i = 1 6 a i \sum_{i = 1}^{6}a_{i} = 0 and 2010 ≡ 0 [6]

So i = 1 2010 a i \sum_{i = 1}^{2010}a_{i} = 0

Explanation :

a 3 a_{3} = a 2 a_{2} - a 1 a_{1}

a 4 a_{4} = a 3 a_{3} - a 2 a_{2} = ( a 2 a_{2} - a 1 a_{1} ) - a 2 a_{2} = - a 1 a_{1}

a 5 a_{5} = a 4 a_{4} - a 3 a_{3} = - a 1 a_{1} - ( a 2 a_{2} - a 1 a_{1} ) = - a 2 a_{2}

a 6 a_{6} = a 5 a_{5} - a 4 a_{4} = - a 2 a_{2} - (- a 1 a_{1} ) = - a 2 a_{2} + a 1 a_{1} = -( a 2 a_{2} - a 1 a_{1} )= - a 3 a_{3}

==> i = 1 6 a i \sum_{i = 1}^{6}a_{i} = 0

Anik Mandal
Jun 5, 2014

After every 6 terms we find that the sum is zero.

When we divide 2010 by 6,we find that the remainder is zero.

Hence the sum is 0.

superb!!!!!!!!!

deleena thomas - 7 years ago

Log in to reply

Thanks a lot:D

Anik Mandal - 7 years ago

Log in to reply

sure!!!!!!!!!!!

deleena thomas - 7 years ago
Bernardo Sulzbach
Jun 19, 2014

My Python solution.

seq = [6, 14]
while len(seq) < 2010:
    seq.append(seq[-1] - seq[-2])
print(sum(seq))

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...