fix(challenges): Fix typos in some project Euler problems (#16605)

This commit is contained in:
Huyen Nguyen
2018-01-31 03:07:20 +07:00
committed by mrugesh mohapatra
parent 240a63fdd4
commit f3ad9ff6f8

View File

@ -163,9 +163,9 @@
], ],
"description": [ "description": [
"The sum of the squares of the first ten natural numbers is,", "The sum of the squares of the first ten natural numbers is,",
"12 + 22 + ... + 102 = 385", "1² + 2² + ... + 10² = 385",
"The square of the sum of the first ten natural numbers is,", "The square of the sum of the first ten natural numbers is,",
"(1 + 2 + ... + 10)2 = 552 = 3025", "(1 + 2 + ... + 10)² = 55² = 3025",
"Hence the difference between the sum of the squares of the first ten natural numbers and the square of the sum is 3025 385 = 2640.", "Hence the difference between the sum of the squares of the first ten natural numbers and the square of the sum is 3025 385 = 2640.",
"Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum." "Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum."
] ]
@ -270,8 +270,8 @@
], ],
"description": [ "description": [
"A Pythagorean triplet is a set of three natural numbers, a < b < c, for which,", "A Pythagorean triplet is a set of three natural numbers, a < b < c, for which,",
" a2 + b2 = c2", " a² + b² = c²",
"For example, 32 + 42 = 9 + 16 = 25 = 52.", "For example, 3² + 4² = 9 + 16 = 25 = 5².",
"There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the product abc." "There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the product abc."
] ]
}, },