Factoring $n = pqr$ given $\phi(n)$

57 Views Asked by At

I know there is a fairly elementary way to factor $n = pq$ (distinct primes) given the value of the totient function, but is there an efficient way to find this if we know $n = pqr$ and we know $\phi(n) = (p-1)(q-1)(r-1)$?