Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

algebra senior

Problem

The Fibonacci sequence is defined by and for

Compute
Solution
Since depends only on the value of modulo 4.

We compute the first few Fibonacci numbers modulo 4: Since and and each term depends only on the previous two terms, the Fibonacci numbers modulo 4 becomes periodic, with period 6.

Since
Final answer
-668i