We will show that the only solution is a=6 (for p=q=r).
If exactly two of the three prime numbers are equal; e.g. p=q=r, then
a=2(rp+pr)+2∈N,
so there exists n∈N so that
2n=rp+pr,
which is
n=pr2(p2+r2).
Hence p∣2(p2+r2) and, since (p,r)=1, we have p∣2, so p=2. It follows that
n=rr2+4=r+r4
and, as n∈N, r is a prime divisor of 4, so r=2=p, a contradiction.
If p,q,r are pairwise distinct, then
apqr=pq(p+q)+qr(q+r)+rp(r+p),
so p∣qr(q+r), which leads to p∣q+r and, furthermore, p∣p+q+r. Analogously,
q∣p+q+r and r∣p+q+r, so pqr∣p+q+r, hence pqr≤p+q+r.
As p,q,r are distinct and at least 2, then pqr≥2qr>4r, and, similarly, pqr>4q and pqr>4p. It follows that 3pqr>4(p+q+r)≥4qr, which is impossible.