| I gotta run to a meeting, but it looks like the equality can be rewritten as
(p+1)(q+1)(r+1) = 2(pqr+1)
dividing by pqr and noting that p <= q <= r, we get
(1 + 1/p)^3 >= (1 + 1/p)(1 + 1/q)(1 + 1/r) = 2 + 2/pqr > 2
which means p must be 1, 2, or 3. That gives three subcases for q and r, which
can be similiarly limited. The p=1 case is quickly found to have no solutions.
I ran out of time to try p=2 and p=3, but a quick computer search indicates
that the only soluions for q <= r <= 1000 are:
p=2, q=4, r=13
p=2, q=5, r=8
p=3, q=3, r=7
|
| p = 2 means that
1+3q+3r = qr
so q = (3r+1)/(r-3)
= 3 + 10/(r-3)
so r = 4,5,8 or 13
q = 13,8,5 or 4 two distinct solutions.
similarly one distinct solution for p=3, so you found them all.
(The second half)
tan(a+b+c) = tana+tanb+tanc - tanatanbtanc
-----------------------------
1 - (tanatanb+tanbtanc+tactana)
so if p=1/tana etc we get
tan(a+b+c) = pq+qr+rp - 1
------------
pqr - (p+q+r)
= 1
so atan(1/p)+atan(1/q)+atan(1/r) = a+b+c = pi/4 +/- n*pi
and, by inspection :-) for the p,q,r values found, it is pi/4
whereas (by using p=tana etc) it looks as if
atan(p)+ata(q)+atan(r) might be 5pi/4
|