Short Square Sum

Every positive integer can be expressed as a sum of perfect squares. For example, 13 can be expressed as 3 2 + 2 2 3^2 + 2^2 , but can also be ineffeciently expressed as 2 2 + 2 2 + 2 2 + 1 2 2^2 + 2^2 + 2^2 + 1^2 .

What is the least number of perfect squares (including repeated ones) that must be added together to equal 197?

Bonus : Try to create a proof that determines the solution for any positive integer.

3 4 2 1

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

Cliff Rogers
Aug 25, 2017

We can immediately elimate 1, because 197 is not a perfect square itself, so it cannot br expressed with just one perfect square.

The solution is greater than 1.

Let's try to eliminate 2.

Using the basic odd-even rules, we know that:

odd + even = odd

odd + odd = even

even + even = even

Since 197 is odd, if 197 can be expressed with just 2 squares, one must be even, and one must be odd, since that is the only way to achieve an odd sum.

Let's go through every perfect square and determine what value would need to be added to it in order to achive 197.

4 + 193 4 + 193 : Second value is not a perfect square.

9 + 188 9 + 188 : Second value is not a perfect square.

16 + 181 16 + 181 : Second value is not a perfect square.

...

196 + 1 196 + 1 : Correct!

Because an accurate solution exists that only uses 2 perfect squares,

The least number of perfect squares that must be added together to achieve 197 is 2.

Cant we write 2^(2) 64 times +1 That is 2^(2)+2^(2)+2^(2).......(64 times) +1

Ayush Sharma - 3 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...