Show that is the square of an integer

In summary, the conversation discusses a problem about positive integers and their divisibility, specifically related to the expression $\frac{a^2 + b^2}{ab + 1}$ and its square being an integer. The conversation includes a solution and some doubts about its generality. The participants also mention that this problem was a question in the 1988 International Mathematical Olympiad.
  • #1
Joppy
MHB
284
22
I couldn't find this problem anywhere else on the forum so I thought I'd post it. If however, I am duplicating, mods feel free to remove the post :p.

No doubt many of you know it already, but I found it quite interesting.

Let $a$ and $b$ be positive integers such that $ab + 1$ divides $a^2 + b^2$. Show that $\frac{a^2 + b^2}{ab + 1}$ is the square of an integer.
 
Mathematics news on Phys.org
  • #2
Joppy said:
I couldn't find this problem anywhere else on the forum so I thought I'd post it. If however, I am duplicating, mods feel free to remove the post :p.

No doubt many of you know it already, but I found it quite interesting.

Let $a$ and $b$ be positive integers such that $ab + 1$ divides $a^2 + b^2$. Show that $\frac{a^2 + b^2}{ab + 1}$ is the square or an integer.
This one's infuriating. I love it!

-Dan
 
  • #3
topsquark said:
This one's infuriating. I love it!

-Dan

So many layers!
 
  • #4
Joppy said:
I couldn't find this problem anywhere else on the forum so I thought I'd post it. If however, I am duplicating, mods feel free to remove the post :p.

No doubt many of you know it already, but I found it quite interesting.

Let $a$ and $b$ be positive integers such that $ab + 1$ divides $a^2 + b^2$. Show that $\frac{a^2 + b^2}{ab + 1}$ is the square of an integer.
my solution:
if $a=b^3$
then $\dfrac {a^2+b^2}{ab+1}=\dfrac {b^6+b^2}{b^4+1}=b^2$
if $b=a^3$
then $\dfrac {a^2+b^2}{ab+1}=\dfrac {a^2+a^6}{a^4+1}=a^2$
$\therefore ab+1$ divides $a^2+b^2$ we may set $a=b^3,or\,\, b=a^3$
(here $a,b \in N$)
 
Last edited:
  • #5
This is problem #3 day 2 of the 1988 IMO.
 
  • #6
mrtwhs said:
This is problem #3 day 2 of the 1988 IMO.

Thought it was no. 6.
 
  • #7
Albert said:
my solution:
if $a=b^3$
then $\dfrac {a^2+b^2}{ab+1}=\dfrac {b^6+b^2}{b^4+1}=b^2$
if $b=a^3$
then $\dfrac {a^2+b^2}{ab+1}=\dfrac {a^2+a^6}{a^4+1}=a^2$
$\therefore ab+1$ divides $a^2+b^2$ we may set $a=b^3,or\,\, b=a^3$
(here $a,b \in N$)
How do we know that this is the most general solution (or that others don't exist)? I can't think of how to prove that one way or another.

-Dan
 
  • #8
topsquark said:
How do we know that this is the most general solution (or that others don't exist)? I can't think of how to prove that one way or another.

-Dan

I think Albert has stumbled upon one set of solutions, but there are many more in similar forms.. But! I'll have to check myself first when I get a chance.
 
  • #9
topsquark said:
How do we know that this is the most general solution (or that others don't exist)? I can't think of how to prove that one way or another.

-Dan
since we are given :$a^2+b^2 $ is a multiple of $ab+1$
we must find the relation between $a$ and $b$ as my example $a=b^3$ or $b=a^3$
may be we can find different link between $a,b$ and check the result
the following steps will help us finding other solutions:
if $a>b$
take $\dfrac {a^2+b^2}{ab+1}=2^2=4=k^2----(*)$ for instance
(1) set $a=b^3$,we get $a=8,b=2$
(2) put $b=8 $ to $(*)$ we get $a=2$ ,or $a=30$ another solution $ (a,b)=(30,8) $ is found
(3) put $b=30$ to $(*)$ we get $a=8$ or $a=112$ again $(a,b)=(112,30)$ is found
(4) put $b=112 $ to $(*)$ we get $a=30$ ,or $a=418$ another solution $ (a,b)=(418,112) $ is found
continue these steps until no other solution found then next $k$
 
Last edited:
  • #10
Albert said:
since we are given :$a^2+b^2 $ is a multiple of $ab+1$
we must find the relation between $a$ and $b$ as my example $a=b^3$ or $b=a^3$
may be we can find different link between $a,b$ and check the result
the following steps will help us finding other solutions:
if $a>b$
take $\dfrac {a^2+b^2}{ab+1}=2^2=4=k^2----(*)$ for instance
(1) set $a=b^3$,we get $a=8,b=2$
(2) put $b=8 $ to $(*)$ we get $a=2$ ,or $a=30$ another solution $ (a,b)=(30,8) $ is found
(3) put $b=30$ to $(*)$ we get $a=8$ or $a=112$ again $(a,b)=(112,30)$ is found
(4) put $b=112 $ to $(*)$ we get $a=30$ ,or $a=418$ another solution $ (a,b)=(418,112) $ is found
continue these steps until no other solution found then next $k$
The general solutions of :$\dfrac {a^2+b^2}{ab+1}=k^2-----(*)\,\,\,(a,b,k\in N)$
because of symmetry we let $a>b$
from previous solution we have $ b=k,a=b^3=k^3 $
put $b=k^3$ to $(*)$
we find another solution of $a$
$\dfrac {a^2+k^6}{ak^3+1}=k^2$
$\rightarrow a^2-ak^5+k^6-k^2=0$
$a=k,\,\, or \,\ ,a=k^5 - k$
 
  • #11
Albert said:
The general solutions of :$\dfrac {a^2+b^2}{ab+1}=k^2-----(*)\,\,\,(a,b,k\in N)$
because of symmetry we let $a>b$
from previous solution we have $ b=k,a=b^3=k^3 $
put $b=k^3$ to $(*)$
we find another solution of $a$
$\dfrac {a^2+k^6}{ak^3+1}=k^2$
$\rightarrow a^2-ak^5+k^6-k^2=0$
$a=k,\,\, or \,\ ,a=k^5 - k$

Albert,
you are digressing

you are finding general solution instead of proving that it is perfect square
 
  • #12
kaliprasad said:
Albert,
you are digressing

you are finding general solution instead of proving that it is perfect square
may be a little bit digressing,but from this I can deduce that it is perfect square:
$let :\dfrac{a^2+b^2}{ab+1}=y\\
a^2-yab+b^2-y=0\\
a=\dfrac{yb\pm\sqrt{y^2b^2-4b^2+4y}}{2}$
since $a,b\in N$
$y^2b^2-4b^2+4y$ must be perfect square
this can only be done with $b=y\sqrt y=k^3$
$a=\dfrac {y^2\sqrt y \pm (y^2\sqrt y-2\sqrt y)}{2}=y^2\sqrt y-\sqrt y =k^5-k\,\, or \,\, a=\sqrt y=k$
as given from general solution
here $(y=k^2)$ must be perfect square
 
  • #13
Albert said:
may be a little bit digressing,but from this I can deduce that it is perfect square:
$let :\dfrac{a^2+b^2}{ab+1}=y\\
a^2-yab+b^2-y=0\\
a=\dfrac{yb\pm\sqrt{y^2b^2-4b^2+4y}}{2}$
since $a,b\in N$
$y^2b^2-4b^2+4y$ must be perfect square
this can only be done with $b=y\sqrt y=k^3$
$a=\dfrac {y^2\sqrt y \pm (y^2\sqrt y-2\sqrt y)}{2}=y^2\sqrt y-\sqrt y =k^5-k\,\, or \,\, a=\sqrt y=k$
as given from general solution
here $(y=k^2)$ must be perfect square

This is a mixup between arithmetic and algebra. for example $b^2+5$ is not a perfect square in algebra but is it in arthmetic when $b=2$ as $2^2+5= 3^2$
 
  • #14
kaliprasad said:
This is a mixup between arithmetic and algebra. for example $b^2+5$ is not a perfect square in algebra but is it in arthmetic when $b=2$ as $2^2+5= 3^2$
note $a,b\in N$ and $ab+1$ divides $a^2+b^2$
$y^2b^2-4b^2+4y=(yb-2\sqrt y)^2$ is perfect square
this implies $b=y\sqrt y \in N$
$\therefore y$ must be perfect square
so $y=k^2, b=k^3$
 

1. What does it mean for a number to be a "square of an integer"?

When a number is the square of an integer, it means that the number can be written as the product of two equal integers. For example, 9 is the square of 3 because 9 can be written as 3 x 3.

2. How can I show that a number is the square of an integer?

To show that a number is the square of an integer, you can take the square root of the number and check if the result is a whole number. If the result is a whole number, then the original number is the square of that whole number. For example, the square root of 16 is 4, so 16 is the square of 4.

3. Can any number be the square of an integer?

No, not every number can be the square of an integer. A number must have a whole number square root in order to be the square of an integer. For example, 2 is not the square of an integer because its square root is √2, which is not a whole number.

4. Is the square of an integer always a positive number?

Yes, the square of an integer is always a positive number. This is because when you multiply two positive numbers, the result is always positive. So, when a number is the square of an integer, it is always positive.

5. Can a negative number be the square of an integer?

Yes, a negative number can be the square of an integer. For example, -4 is the square of -2 because (-2) x (-2) = 4. However, the square of an integer is always a positive number, so when we say "the square of an integer" we typically mean the positive square of an integer.

Similar threads

Replies
4
Views
162
Replies
1
Views
664
Replies
1
Views
654
  • General Math
Replies
1
Views
1K
Replies
2
Views
216
Replies
7
Views
3K
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
13
Views
2K
Back
Top