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

Home > Numbers
Two Sums of Two Squares (Posted on 2020-07-17) Difficulty: 2 of 5
Prove that a positive integer n is the sum of two perfect squares if and only if 2*n is also the sum of two perfect squares.

No Solution Yet Submitted by Brian Smith    
Rating: 4.5000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution solution | Comment 1 of 4
Write the two squares as i^2 and (i+k)^2 where k >= 0

Then n = i^2 + i^2 + 2ik + k^2 
          = 2i^2 + 2ik + k^2

Twice that is:
  4i^2 + 4ik + 2k^2
= (2i)^2 + 2(2i)k + k^2 + k^2
= (2i + k)^2 + k^2

which is also the sum of two squares


  Posted by Paul on 2020-07-17 08:35:09
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (22)
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