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 Solvers29
Suggested Problems
-
Maximum running product for a string of numbers
2142 Solvers
-
Numbers with prime factors 2, 3 and 5.
466 Solvers
-
Count consecutive 0's in between values of 1
397 Solvers
-
Is this triangle right-angled?
5640 Solvers
-
Combined Ages 1 - Symmetric, n = 3
250 Solvers
More from this Author269
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!