TITLE: Number of certain positive integer solutions of n=x+y+z
QUESTION [11 upvotes]: Does anyone know how to estimate (as $n$ tends to infinity) the number of solutions of
$$n=x+y+z$$
where $x,y,z$ are positive integers with $x$ coprime to $y$ and to $z$?
Computer experiments suggest that there are roughly $cn^2$ solutions, where $c>0$ is an absolute constant.

REPLY [6 votes]: For $n$ prime my heuristics tells me that $c=\frac{1}{2}\prod_p\left(1-\frac{2}{p^2}\right)$, the product being over all primes. Is this supported by computer experiments? If yes, I will share more details.