The terms of the Fibonacci sequence are determined by adding the two previous terms, i.e. 1, 1, 2, 3, 5, 8, 13, 21.... What is the sum of the even terms in this sequence when the n-th term is less than 4,000,000?
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.
Excel: Cells A1:A33 contain the first 33 Fibonacci numbers. (Use Joe's formula or more common recursive relation.)
The sum we are seeking can be found using the formula: {=SUM(IF(MOD(($A$1:$A$33),2)=0,$A$1:$A$33,0))}
Formula adds the even numbers in the range.
Alternatively, pick out rows with indices that are multiples of 3: {=SUM(IF(MOD(ROW($A$1:$A$33),3)=0,$A$1:$A$33,0)) }
I took the question to mean sum of 2nd, 4th, 6th,....
First we note that every third Fibonacci number or F 3 n , where n ∈ N , is even. We can find the largest F 3 n < 4 , 0 0 0 , 0 0 0 using F k = [ 5 φ k ] , where φ = 2 1 + 5 is the golden ratio and [ ⋅ ] denotes the closest integer function. Putting [ 5 φ k ] < 4 0 0 0 0 0 0 , we get the largest F 3 n < 4 0 0 0 0 0 0 is F 3 3 = 3 5 2 4 5 7 8 . Therefore the sum we are looking for is:
S = n = 1 ∑ 1 1 F 3 n = n = 1 ∑ 1 1 5 φ 3 n − ( − φ ) − 3 n = 5 ( φ 3 − 1 ) φ 3 ( φ 3 3 − 1 ) + 5 ( 1 + φ − 3 ) φ − 3 ( 1 + φ − 3 3 ) = 4 6 1 3 7 3 2
Problem Loading...
Note Loading...
Set Loading...
The even numbers in the Fibonacci number sequence are the numbers F 3 n for n ≥ 1 (technically, the sequence should start with F 0 = 0 , but including this will not affect the sum). It is a simple induction to prove that n = 1 ∑ N F 3 n = 2 1 [ F 3 N + 2 − 1 ] Since F 3 3 = 3 5 2 4 5 7 8 and F 3 6 = 1 4 9 3 0 3 5 2 , we want to evaluate n = 1 ∑ 1 1 F 3 n = 2 1 ( F 3 5 − 1 ) = 2 1 ( 9 2 2 7 4 6 5 − 1 ) = 4 6 1 3 7 3 2