What is the sum of all the integers x such that x + 3 8 and x + 1 9 are both square numbers?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
This is nice.
In general you can say for any prime p, you'll find:
X = (p^2 + 1)/4 - 3/2*p
It gives the same result:x+2p and x+p are both square.
It is very nice.
Nice solution, but wouldn’t it be possible to also have the equations a+b=1 and a-b=19, since a and b are integers? Not that it yields another x.
Log in to reply
Thank you! Certainly this is possible, but since it doesn't yield another x (because we're squaring a and b anyway), I thought it wasn't necessary to include. You could also use -1 and -19 since these multiply to make 19, but again we find that x is 62.
let x + 3 8 = a 2 . . . . . . . . . . [ 1 ] and x + 1 9 = b 2 . . . . . . . . . . [ 2 ] where a , b ∈ N
[ 1 ] − [ 2 ] ⇒ x + 3 8 − x − 1 9 = a 2 − b 2 ⇒ 1 9 = ( a − b ) ( a + b )
C a s e 1 : a − b = 1 . . . . . . . . . . [ A 1 ] a + b = 1 9 . . . . . . . . . . [ B 1 ] [ A 1 ] + [ B 1 ] ⇒ 2 a = 2 0 ∴ a = 1 0 ∴ x + 3 8 = 1 0 2 = 1 0 0 ⇒ x = 6 2
C a s e 2 : a − b = 1 9 . . . . . . . . . . [ A 2 ] a + b = 1 . . . . . . . . . . [ B 2 ] [ A 2 ] + [ B 2 ] ⇒ 2 a = 2 0 ∴ a = 1 0 ∴ x + 3 8 = 1 0 2 = 1 0 0 ⇒ x = 6 2
C a s e 3 : a − b = − 1 9 . . . . . . . . . . [ A 3 ] a + b = − 1 . . . . . . . . . . [ B 3 ] [ A 3 ] + [ B 3 ] ⇒ 2 a = − 2 0 ∴ a = − 1 0 ∴ x + 3 8 = ( − 1 0 ) 2 = 1 0 0 ⇒ x = 6 2
Therefore the only possible value of x is 6 2
You forgot a-b=-1, a+b=-19 and vice versa. But, however a^2=100 and b^2=81
Problem Loading...
Note Loading...
Set Loading...
Here's an approach to the problem that is a little more rigorous than trial and error:
The key to solving this problem is a familiarity with the concept of the difference of two squares .
Let x + 3 8 = a 2 and let x + 1 9 = b 2 for positive integers a and b ( a > b )
So a 2 − b 2 = 1 9 , which we can rewrite as ( a + b ) ( a − b ) = 1 9
Considering the positive factors of 19, we have ( 1 ) ( 1 9 ) only. So now we can set up a pair of simultaneous equations:
a + b = 1 9
a − b = 1
The solutions to these are a = 1 0 , b = 9
Now we can sub one of these values back into one of our original equations involving x (let's use a for now, although b would yield an equally valid solution):
x + 3 8 = ( 1 0 ) 2 = 1 0 0
x = 6 2
And sure enough, 6 2 + 3 8 = 1 0 0 , 6 2 + 1 9 = 8 1
Now since there is only one pair of positive factors for 19 (as it is prime), there is only one solution for x .
62 is the only value for x which satisfies the conditions so the sum of all the integers x is simply 62 .
Here's a similar problem to try: Squares and sums II