Find all triples of positive integers $(p, q, n)$ with $p$ and $q$ prime, such that $p(p+1)+q(q+1) = n(n+1)$.
We are given the equation \( p(p+1) + q(q+1) = n(n+1) \) where \( p \) and \( q \) are prime numbers, and \( n \) is a positive integer. We need to find all possible triples \((p, q, n)\).

1. **Assume \( p \geq q \)**:
   This assumption helps us to simplify the problem by considering the cases where \( p \) is greater than or equal to \( q \).

2. **Rewrite the equation**:
   \[
   p(p+1) + q(q+1) = n(n+1)
   \]
   Expanding both sides, we get:
   \[
   p^2 + p + q^2 + q = n^2 + n
   \]

3. **Isolate \( p(p+1) \)**:
   \[
   p(p+1) = n(n+1) - q(q+1)
   \]
   Let \( k = n - q \). Then:
   \[
   p(p+1) = k(k + 2q + 1)
   \]

4. **Consider divisibility**:
   Since \( p \) is a prime number, it must divide \( k + 2q + 1 \). Therefore:
   \[
   p \mid (n + q + 1)
   \]

5. **Bound \( n \)**:
   Since \( n \leq p + q + 1 \), we have:
   \[
   n + q + 1 \leq p + q + 1 + q + 1 = p + 2q + 2
   \]
   Thus:
   \[
   p \mid (n + q + 1) \leq 3p + 2
   \]

6. **Possible values for \( n + q + 1 \)**:
   Since \( p \mid (n + q + 1) \), the possible values for \( n + q + 1 \) are \( p, 2p, \) or \( 3p \).

7. **Case 1: \( n + q + 1 = p \)**:
   \[
   n = p - q - 1
   \]
   Substituting back into the original equation, we get:
   \[
   q(q+1) = (p - q - 1)(p + q)
   \]
   This leads to a contradiction because it implies \( p = q \), which is not possible since \( p \) and \( q \) are distinct primes.

8. **Case 2: \( n + q + 1 = 2p \)**:
   \[
   n = 2p - q - 1
   \]
   Substituting back into the original equation, we get:
   \[
   q(q+1) = (2p - q - 1 - p)(2p - q - 1 + p + 1)
   \]
   Simplifying, we get:
   \[
   q(q+1) = (p - q - 1)(3p - q)
   \]
   Solving for \( p \) and \( q \), we find:
   \[
   3(p-1) = 4q \implies q = 3, p = 5, n = 6
   \]
   Thus, one solution is \((5, 3, 6)\).

9. **Case 3: \( n + q + 1 = 3p \)**:
   This case is left to the reader, but it can be shown that it does not yield any new solutions.

10. **Check for other possible solutions**:
    - For \( p = q = 2 \):
      \[
      2(2+1) + 2(2+1) = 2(2+1)
      \]
      This simplifies to:
      \[
      6 + 6 = 6
      \]
      This is not possible.

Thus, the only valid solutions are \((5, 3, 6)\) and \((3, 5, 6)\).

The final answer is \(\boxed{(5, 3, 6), (3, 5, 6)}\).