1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-05 10:05:39 +02:00

n1 should be 5, not 15 (#1693)

This commit is contained in:
Mike Sandman 2024-01-16 05:05:30 -05:00 committed by GitHub
parent 9ed01cca77
commit f23aa10d32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;