A square + square =prime

Let p p denote the smallest prime number greater than 200 for which there are positive integers a a and b b satisfying a 2 + b 2 = p a^2+b^2=p . What is a + b ? a+b?


The answer is 17.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Freddie Hand
Mar 19, 2017

We can use Fermat's theorem on sums of two squares-

If a prime p p can be expressed as p = a 2 + b 2 p=a^{2}+b^{2} , where a a and b b are positive integers, then p 1 ( m o d 4 ) p\equiv 1 \pmod {4}

The smallest such possible p p is p = 229 p=229 . By trial and error, we have a = 2 a=2 and b = 15 b=15 , so a + b = 17 a+b=17 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...