fix(challenges): Fix typos in some project Euler problems (#16605)
This commit is contained in:
committed by
mrugesh mohapatra
parent
240a63fdd4
commit
f3ad9ff6f8
@ -163,9 +163,9 @@
|
||||
],
|
||||
"description": [
|
||||
"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,",
|
||||
"(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.",
|
||||
"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": [
|
||||
"A Pythagorean triplet is a set of three natural numbers, a < b < c, for which,",
|
||||
" a2 + b2 = c2",
|
||||
"For example, 32 + 42 = 9 + 16 = 25 = 52.",
|
||||
" a² + b² = c²",
|
||||
"For example, 3² + 4² = 9 + 16 = 25 = 5².",
|
||||
"There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the product abc."
|
||||
]
|
||||
},
|
||||
|
Reference in New Issue
Block a user