# B Ab = a + b

1. Dec 22, 2016

### Einstein's Cat

There is the equation

ab = a + b (the solutions have to be integers)

A solution to this is a= b= 2.

What are other solutions? Are there other solutions?

2. Dec 22, 2016

### Orodruin

Staff Emeritus
Why don't you solve for b in terms of a and think about what would be necessary for b to be an integer if a is?

3. Dec 22, 2016

### blue_leaf77

One more.

4. Dec 22, 2016

### Einstein's Cat

it would be that

b= a / (a - 1)
thus b has to be a multiple of a - 1

I assume that the other solution is a=b=0

5. Dec 22, 2016

### Orodruin

Staff Emeritus
No, it is $a$ that needs to be a multiple of $a-1$ in order for $b$ to be an integer!

6. Dec 22, 2016

### Einstein's Cat

what pairs of integers satisfy that? I can't for the life of me think of any!

7. Dec 22, 2016

### Staff: Mentor

Did you try to simply insert common integers into the equation?

You got one solution of a=b=2 from a^2=(a+a) which can be converted to a quadratic expression to factor right?

8. Dec 22, 2016

### Staff: Mentor

So prove it.
$a$ being a multilple of $a-1$ means $a=b\cdot (a-1)$ and since $a$ is the greater number, $b$ has to be positive.
Can you show why $b$ cannot be greater than $2$?

9. Dec 22, 2016

### Einstein's Cat

if b is greater than 2, say 3, then a= 3a - 3. no integer satisfies this from 1 to 10 and has a gets bigger the 3 is a smaller proportion of a so it can be assumed that this is the case

10. Dec 22, 2016

### Staff: Mentor

Well, .... yes. But the restriction to numbers until $10$ lacks a bit of rigor. $a=b(a-1) > 2(a-1) = 2a -2$ and thus $a<2$ would be more general and also leaves you with the cases $a \in \{0,1\}\,$or$\, b \in \{0,1,2\}$ which you can handle manually. Or you proceed along the lines @jedishrfu has pointed out in #7.