Problem:
Given three prime numbers \( p, q, r \), analyze whether the expressions \( pqr + 1 \) and \( pqr + q \) are prime or composite.
We will try various sets of values and test the result.
Step 1: Try small prime values
Let \( p = 2, q = 3, r = 5 \)
Then:
\[
pqr = 2 \cdot 3 \cdot 5 = 30
\]
(i) Check \( pqr + q = 30 + 3 = 33 \)
33 is divisible by 3 and 11 ⇒ So, it is composite
(ii) Check \( pqr + 1 = 30 + 1 = 31 \)
31 is a known prime number
Step 2: Try another set: \( p = 2, q = 3, r = 7 \)
\[
pqr = 2 \cdot 3 \cdot 7 = 42
\Rightarrow pqr + 1 = 43
\]
43 is a prime number
Step 3: Try \( p = 2, q = 5, r = 7 \)
\[
pqr = 2 \cdot 5 \cdot 7 = 70 \Rightarrow pqr + 1 = 71
\]
71 is a prime number
Step 4: Try \( p = 2, q = 3, r = 11 \)
\[
pqr = 2 \cdot 3 \cdot 11 = 66 \Rightarrow pqr + 1 = 67
\]
67 is a prime number
Step 5: Try \( p = 3, q = 5, r = 7 \)
\[
pqr = 3 \cdot 5 \cdot 7 = 105 \Rightarrow pqr + 1 = 106
\]
106 is divisible by 2 ⇒ So, it is composite
Conclusions:
(i) \( \boxed{p = 3, q = 5, r = 7} \Rightarrow pqr + 1 = 106 \) → composite
(ii) \( \boxed{p = 2, q = 3, r = 5} \Rightarrow pqr + 1 = 31 \) → prime