You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 10_fibonacci/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@
2
2
3
3
Create a function that returns a specific member of the Fibonacci sequence:
4
4
5
-
> A series of numbers in which each number ( Fibonacci number ) is the sum of the two preceding numbers. The simplest is the series 0, 1, 1, 2, 3, 5, 8, etc.
5
+
> A series of numbers in which each number ( Fibonacci number ) is the sum of the two preceding numbers.
6
+
> In this exercise, the Fibonacci sequence used is 1, 1, 2, 3, 5, 8, etc.
7
+
> To learn more about Fibonacci sequences, go to: https://en.wikipedia.org/wiki/Fibonacci_sequence
6
8
7
9
```javascript
8
10
fibonacci(4); // returns the 4th member of the series: 3 (1, 1, 2, 3)
0 commit comments