Problem

Source: Greece Archimedes Junior 2016

Tags: number theory



If $n$ is positive integer and $p, q, r$ are primes solve the system: $pqr=n$ and $(p+1)(q+1)r=n+138$