fix wording

This commit is contained in:
filifa 2025-06-23 21:09:30 -04:00
parent 8d954da214
commit fcf4484896
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
"source": [
"# [Integer Right Triangles](https://projecteuler.net/problem=39)\n",
"\n",
"If a right triangle has integer side lengths, the side lengths are a [Pythagorean triple](https://en.wikipedia.org/wiki/Pythagorean_triple). In [problem 9](https://projecteuler.net/problem=9), we wrote a generator for primitive Pythagorean triples based off of Euclid's formula. We can modify that generator to cut off after the triplets have passed a maximum perimeter. Note that the perimeter of a triangle with side lengths generated by Euclid's formula will have perimeter $2m^2 + 2mn$."
"If a right triangle has integer side lengths, the side lengths are a [Pythagorean triple](https://en.wikipedia.org/wiki/Pythagorean_triple). In [problem 9](https://projecteuler.net/problem=9), we wrote a generator for primitive Pythagorean triples based off of Euclid's formula. We can modify that generator to cut off after the triplets have passed a maximum perimeter. Note that a triangle with side lengths generated by Euclid's formula will have perimeter $2m^2 + 2mn$."
]
},
{