All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
169 (Posted on 2004-11-04) Difficulty: 4 of 5
Find all integers 1<=k<=169 for which 169 is not the sum of k nonzero squares.

The squares are not necessarily unique. For example k=5: 169=1+4+4+16+144.

This should be done without a brute force program.

See The Solution Submitted by Brian Smith    
Rating: 2.5000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts A thought | Comment 1 of 13

Nobody was posting any comments on here, so I thought I would start, even if I had little idea what I was doing.  So here goes:

The square numbers (that pertain to this problem) are: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169.

25 can be written as 9 + 16 because 3^2 + 4^2 = 5^2.  It is a pythagorean triple.  100 = 64 + 36.  169 = 144 + 25.

Perhaps this problem has something to do with pythagorean triples.  There are even other sums besides those.  9 = 4 + 4 + 1.  I don't know.

I hope this helps someone else get an idea and run with it.


  Posted by Dustin on 2004-11-04 21:20:34
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information