**Tell us what’s happening:**

This code seems right. Tell me what should be the output of fiboEvenSum(2) , fiboEvenSum(5)?

**Your code so far**

```
function fiboEvenSum(n) {
// You can do it!
// n is the term number of fibonacci where 3 is f1
// we are creating the variables evenFibonacci(ef_i) that are 3*i == original fibonacci
var ef0 = 2;
var ef1 = 8;
var sum = 0;
if( n > 0 )
sum += ef0;
if( n > 3 )
sum += ef1;
for(var i=2; 3*i <= n ;i++)
{
var ef2=4*ef1+ef0;
sum+=ef2;
ef0 = ef1;
ef1 = ef2;
}
return sum;
}
fiboEvenSum(10);
```

**Your browser information:**

User Agent is: `Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36`

.

**Link to the challenge:**

https://learn.freecodecamp.org/coding-interview-prep/project-euler/problem-2-even-fibonacci-numbers