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

Home > Just Math
Diophantine Linear and Quadratic (Posted on 2015-11-01) Difficulty: 3 of 5
Find all possible positive integers A, B and C - with A ≤ B, that simultaneously satisfy:
  • A+B-C=12, and:
  • A2 + B2 - C2 = 12

See The Solution Submitted by K Sengupta    
Rating: 4.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Corrected Analytical Solution Comment 4 of 4 |
(1) C = A+B-12
(2) Substituting in the 2nd equation and simplifying gives
    -156 = 24A + 24B - 2AB
(3) Solving for B gives B = (-78-12A)/(12-A)
(4) Let D = 12-A.  Then B = 12 - 66/D
(5) The only possible values for D are +/- 1,2,3,6,11,22,33,66.
So there are 16 possible solutions.

They are:
D B A C
1 -54 11 -55
2 -21 10 -23
3 -10 9 -13
6 1 6 -5
11 6 1 -5
22 9 -10 -13
33 10 -21 -23
66 11 -54 -55
-1 78 13 79
-2 45 14 47
-3 34 15 37
-6 23 18 29
-11 18 23 29
-22 15 34 37
-33 14 45 47
-66 13 78 79

The only solutions with A, B and C positive and A <= B are
(13,78,79), (14,45,47), (15,34,37) and (18,23,29)

  Posted by Steve Herman on 2015-11-01 16:47:48
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 (3)
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