mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-12-01 00:41:09 +00:00
Added Question 9
This commit is contained in:
parent
7f87515836
commit
3fae059b61
|
@ -37,3 +37,8 @@ PROBLEMS:
|
||||||
|
|
||||||
7. By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.
|
7. By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.
|
||||||
What is the Nth prime number?
|
What is the Nth prime number?
|
||||||
|
|
||||||
|
9. A Pythagorean triplet is a set of three natural numbers, a < b < c, for which,
|
||||||
|
a^2 + b^2 = c^2
|
||||||
|
There exists exactly one Pythagorean triplet for which a + b + c = 1000.
|
||||||
|
Find the product abc.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user