Sum of Fibonacci Terms

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?


The answer is 4613732.

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.

4 solutions

Mark Hennings
Feb 5, 2020

The even numbers in the Fibonacci number sequence are the numbers F 3 n F_{3n} for n 1 n \ge 1 (technically, the sequence should start with F 0 = 0 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 = 1 2 [ F 3 N + 2 1 ] \sum_{n=1}^N F_{3n} \; = \; \tfrac12\big[F_{3N+2} - 1\big] Since F 33 = 3524578 F_{33} = 3524578 and F 36 = 14930352 F_{36} = 14930352 , we want to evaluate n = 1 11 F 3 n = 1 2 ( F 35 1 ) = 1 2 ( 9227465 1 ) = 4613732 \sum_{n=1}^{11} F_{3n} \; = \; \tfrac12(F_{35} - 1) \; = \; \tfrac12(9227465 - 1) \; = \; \boxed{4613732}

Richard Desper
Feb 5, 2020

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,....

Saya Suka - 6 months ago

First we note that every third Fibonacci number or F 3 n F_{3n} , where n N n \in \mathbb N , is even. We can find the largest F 3 n < 4 , 000 , 000 F_{3n} < 4,000,000 using F k = [ φ k 5 ] F_k = \left[\dfrac {\varphi^k}{\sqrt 5}\right] , where φ = 1 + 5 2 \varphi = \dfrac {1+\sqrt 5}2 is the golden ratio and [ ] [ \ \cdot\ ] denotes the closest integer function. Putting [ φ k 5 ] < 4000000 \left[\dfrac {\varphi^k}{\sqrt 5}\right] < 4000000 , we get the largest F 3 n < 4000000 F_{3n} < 4000000 is F 33 = 3524578 F_{33} = 3524578 . Therefore the sum we are looking for is:

S = n = 1 11 F 3 n = n = 1 11 φ 3 n ( φ ) 3 n 5 = φ 3 ( φ 33 1 ) 5 ( φ 3 1 ) + φ 3 ( 1 + φ 33 ) 5 ( 1 + φ 3 ) = 4613732 \begin{aligned} S & = \sum_{n=1}^{11} F_{3n} = \sum_{n=1}^{11} \frac {\varphi^{3n}-(-\varphi)^{-3n}}{\sqrt 5} = \frac {\varphi^3\left(\varphi^{33}-1\right)}{\sqrt 5\left(\varphi^3-1\right)} + \frac {\varphi^{-3}\left(1+\varphi^{-33}\right)}{\sqrt 5\left(1+\varphi^{-3}\right)} = \boxed{4613732} \end{aligned}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...