Skip to content

Commit

Permalink
n1 should be 5, not 15 (#1693)
Browse files Browse the repository at this point in the history
  • Loading branch information
n8behavior authored Jan 16, 2024
1 parent 9ed01cc commit f23aa10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/control-flow-basics/exercise.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ For example, beginning with _n<sub>1</sub>_ = 3:

- 3 is odd, so _n<sub>2</sub>_ = 3 * 3 + 1 = 10;
- 10 is even, so _n<sub>3</sub>_ = 10 / 2 = 5;
- 5 is odd, so _n<sub>4</sub>_ = 3 * 15 + 1 = 16;
- 5 is odd, so _n<sub>4</sub>_ = 3 * 5 + 1 = 16;
- 16 is even, so _n<sub>5</sub>_ = 16 / 2 = 8;
- 8 is even, so _n<sub>6</sub>_ = 8 / 2 = 4;
- 4 is even, so _n<sub>7</sub>_ = 4 / 2 = 2;
Expand Down

0 comments on commit f23aa10

Please sign in to comment.