3. If the length, width, and height of a rectangular prism are all prime numbers, and the sum of the areas of two adjacent sides is 341, then the volume of this rectangular prism $V=$ $\qquad$ .
3. 638.

Let the length, width, and height of the rectangular prism be $x, y, z$. From the problem, we have
$$
\begin{array}{l}
x(y+z)=341=11 \times 31 \\
\Rightarrow(x, y+z)=(11,31),(31,11) .
\end{array}
$$

Since $y+z$ is odd, one of $y, z$ must be 2 (let's assume $z=2$).
Also, $11-2=9$ is not a prime number, so
$$
(x, y, z)=(11,29,2) \text {. }
$$

Therefore, $V=x y z=638$.