Consider all Pythagorean triangles $a^2 + b^2 = p^2$ in which the hypotenuse $p$ is a prime number. Let $h(x) = \sum_{p \le x}p^2$, $a(x) = \sum_{p \le x}ab$ and $r(x) = \sum_{p \le x}(a+b)^2$. Is it true that:
$$ \lim_{x \to \infty}\frac{h(x)}{r(x)} = \frac{\pi}{2+\pi} $$
$$ \lim_{x \to \infty}\frac{a(x)}{r(x)} = \frac{1}{2+\pi} $$