SOLUTION: Find all positive integers a and b so that (a+1)/b and (b+2)/a are simultaneously positive integers.

Algebra.Com
Question 1138622: Find all positive integers a and b so that (a+1)/b and (b+2)/a are simultaneously
positive integers.

Found 2 solutions by greenestamps, Edwin McCravy:
Answer by greenestamps(13203)   (Show Source): You can put this solution on YOUR website!


Plan of attack:

Given the requirement equal to an integer, choose integer values for a and determine the possible integer values for b; for those possible values of b, determine whether is also an integer.

If a = 1...


The possible values for b are 1 and 2.
is an integer for both these values of b.
For b=1, --> (a,b) = (1,1) is a solution
For b=2, --> (a,b) = (1,2) is a solution

If a = 2...


The possible values for b are 1 and 3.
is not an integer for either b=1 or b=3.

If a = 3...


The possible values for b are 1, 2, and 4.
is an integer for both b=1 and b=4.
For b=1, --> (a,b) = (3,1) is a solution
For b=4, --> (a,b) = (3,4) is a solution

If a = 4...


The possible values for b are 1 and 5.
is not an integer for either b=1 or b=5.

If a = 5...


The possible values for b are 1, 2, 3, and 6.
is an integer for b=3.
For b=3, --> (a,b) = (5,3) is a solution

-----------------------------------------------------------------

I haven't been able to come up with a formal proof; but it is clear to me that there will be no solutions with values of a greater than 5. So the complete set of ordered pairs of positive integers (a,b) for which both and are both integers is
(1,1); (1,2); (3,1); (3,4); (5,3)

Answer by Edwin McCravy(20060)   (Show Source): You can put this solution on YOUR website!
     Here's the strategy 
greenestamps was looking for:

Find all positive integers a and b so that (a+1)/b and (b+2)/a are simultaneously
positive integers.

Those are positive integers, so


Add 1 to both sides of the second inequality

Those inequalities can be combined as

So we have four cases: a+1=b, a+1=b+1, a+1=b+2, a+1=b+3
which simplify to a=b-1, a=b, a=b+1, a=b+2

Case 1:  a=b-1 substitute in 


For the expression to be a positive integer,
b-1 is either 1 or 3.
For b-1=1 or b=2 and a=b-1=2-1=1, (a,b)=(1,2)
For b-1=3 or b=4 and a=b-1=4-1=3, (a,b)=(3,4)

Case 2:  a=b substitute in 

Those will both be integers only if b=1. 
a=b=1, (a,b)=(1,1) 

Case 3:  a=b+1 substitute in 


For the second expression to be a positive integer,
b+1 must be 1, which makes b=0. So we must discard 
Case 3 as impossible. 

Case 4:  a=b+2 substitute in 

For the first expression to be a positive integer,
b is either 1 or 3.
For b=1, a=b+2=1+2=3, so (a,b)=(3,1) is a solution.
For b=3, a=b+2=3+2=5, so (a,b)=(5,3) is a solution.

So there are 5 solutions:
(a,b)=(1,2)
(a,b)=(3,4) 
(a,b)=(1,1)
(a,b)=(3,1)
(a,b)=(5,3)

Edwin

RELATED QUESTIONS

Suppose that a, b, and c are positive integers such that 24/5=a+(1/(b+(1/c+1))). Find... (answered by venugopalramana)
Hence,Find a and b if {{{sum( ak+b, k=1, n ) = 8n^2+11n}}} for all positive integers... (answered by math_helper)
a+(1/(b+1/c)=37/16 find a,b and c if a,b and c are positive integers (answered by robertb)
2. Suppose that a, b, and c are positive integers such that 24/5= a + (1/ b+(1/c+1))... (answered by venugopalramana)
a and b are positive integers. Find −2a+3b if... (answered by robertb)
In the expansion of (1+x)^a + (1+x)^b , the coefficients of x and x^2 are equal for all... (answered by ikleyn)
√a^2+b^2=613 where a, b are positive integers. Find... (answered by Edwin McCravy)
If {{{ a + b = a/b + b/a }}} where a and b are positive integers, find the value of {{{... (answered by math_helper,Edwin McCravy)
Can you please help to answer the following question: . Find all positive integers a (answered by khwang)