From f25c89fa68cc56f8e538142c1e8ea6dc2c9da10c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santiago=20Pereyra=20V=C3=A1zquez?= <80129436+SantiagoPVazquez@users.noreply.github.com> Date: Tue, 21 Feb 2023 01:47:23 -0600 Subject: [PATCH] fix(curriculum): fix Fibonacci sequence text (#49452) Fixed sum-all-odd-fibonacci-numbers.md text --- .../sum-all-odd-fibonacci-numbers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/sum-all-odd-fibonacci-numbers.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/sum-all-odd-fibonacci-numbers.md index 85d6159ef71..a92887c2cdc 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/sum-all-odd-fibonacci-numbers.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/sum-all-odd-fibonacci-numbers.md @@ -10,7 +10,7 @@ dashedName: sum-all-odd-fibonacci-numbers Given a positive integer `num`, return the sum of all odd Fibonacci numbers that are less than or equal to `num`. -The first two numbers in the Fibonacci sequence are 1 and 1. Every additional number in the sequence is the sum of the two previous numbers. The first six numbers of the Fibonacci sequence are 1, 1, 2, 3, 5 and 8. +The first two numbers in the Fibonacci sequence are 0 and 1. Every additional number in the sequence is the sum of the two previous numbers. The first seven numbers of the Fibonacci sequence are 0, 1, 1, 2, 3, 5 and 8. For example, `sumFibs(10)` should return `10` because all odd Fibonacci numbers less than or equal to `10` are 1, 1, 3, and 5.