Problem 45964. Compute the nth Pythagorean prime
Pythagorean primes have the form
, where n is an integer, and they can be written as the sum of squares of two integers. More information is available at Wikipedia, Numberphile, and the Online Encyclopedia of Integer Sequences.
Compute the nth Pythagorean prime p and two integers a and b such that
.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers35
Suggested Problems
-
512 Solvers
-
455 Solvers
-
5546 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
1976 Solvers
-
Find the max element of the array
1718 Solvers
More from this Author292
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!