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

Home > Just Math
Call 911 (Posted on 2018-08-03) Difficulty: 4 of 5
x^2 + 3xy + 2*911x + 2*911y +911^2 = 0.

Solve the bolded equation for an integer couple (x,y)

See The Solution Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
computer exploration (spoilers) | Comment 1 of 2
  x     y
-607  -92416
-911   0
276033  -92416

from

For x0 = 0 To 1000000
  For x = -x0 To x0 Step 2 * x0
     y = -(x * x + 1822 * x + 829921) / (3 * x + 1822)
     yr = Int(y + 0.5)
     If Abs(y - yr) < 0.000001 Then
       Text1.Text = Text1.Text & x & "  " & Str(y) & crlf
     End If
     If x0 = 0 Then Exit For
  Next
  DoEvents
Next


  Posted by Charlie on 2018-08-03 12:01:41
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 (23)
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