#math trivia #245 solution

The three ways are

  • 12+102+122
  • 22+42+152
  • 82+92+102

The third way is an interesting one because the integers are consecutive. If we let x denote the middle integer, then the sum of the squares would be

(x-1)2+x2+(x+1)2 = x2-2x+1+x2+x2+2x+1 = 3x2+2  .

Any number that is two more than three times a square can thus be expressed as the sum of squares of three consecutive integers. To meet the constraint that the integers must be positive, the number must be at least 12+22+32 = 14. (The relationship also holds for the numbers 3 and 5, if non-positive integers are allowed.)

Note:  If we relaxed the constraint that the integers must be positive in the present problem, one more way would be possible:  72+142. This is a nice consequence of the fact that 245 is the product of a sum of squares, 5, and a square, 49.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s