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 Solvers26
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1674 Solvers
-
Project Euler: Problem 4, Palindromic numbers
970 Solvers
-
Project Euler: Problem 7, Nth prime
1392 Solvers
-
Integer sequence - 2 : Kolakoski sequence
146 Solvers
-
80 Solvers
More from this Author249
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!