mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 16:26:47 +08:00
Fixed Indendation Issues
This commit is contained in:
@ -12,6 +12,5 @@ function EvenFibonacci(limit) {
|
|||||||
return ((PHI ** (3 * n + 3) - 1) / (PHI ** 3 - 1) -
|
return ((PHI ** (3 * n + 3) - 1) / (PHI ** 3 - 1) -
|
||||||
((1 - PHI) ** (3 * n + 3) - 1) / ((1 - PHI) ** 3 - 1)) / SQ5
|
((1 - PHI) ** (3 * n + 3) - 1) / ((1 - PHI) ** 3 - 1)) / SQ5
|
||||||
}
|
}
|
||||||
|
console.log(EvenFibonacci(4e6))
|
||||||
console.log(EvenFibonacci(4e6));
|
|
||||||
// Sum of Even Fibonnaci upto 4 Million
|
// Sum of Even Fibonnaci upto 4 Million
|
||||||
|
Reference in New Issue
Block a user