Both problems, 13 and 47, are about the divergence theorem. This theorem reads as follows: Given a flow field ${\bf v}$ in some domain $\Omega\subset{\mathbb R}^3$, and in addition a "body" $B\subset\Omega$ with surface $\partial B$ (oriented outwards) the "integral formula"
$$\int_{\partial B}{\bf v}\cdot d\vec\omega=\int_B{\rm div}({\bf v}){\rm d}({\bf x})\tag{1}$$
is valid. Here the left hand side is a surface integral (involving two variables $u$, $v$, or, e.g., $\phi$, $\theta$, when it has to be computed "the hard way"), and the right hand side is a volume integral (involving three variables $x$, $y$ $z$, or, e.g., $r$, $\phi$, $\theta$, when it has to be computed "the hard way").
In problem 47 one has $\Omega={\mathbb R}^3\setminus{\bf 0}$. Therefore we cannot apply the divergence theorem to balls centered at ${\bf 0}$. But we can apply it to spherical shells $B:=\{{\bf x}\>|\>a\leq|{\bf x}|\leq b\}$ with boundary $\partial B=\partial S_b-\partial S_a$, where the minus sign takes care of the fact that the standard orientation of the inner sphere $S_a$ has to inverted when $S_a$ is considered as part of $\partial B$.
Since it is easily verified that ${\rm div}({\bf v})\equiv0$ in $\Omega$ we obtain
$$\int_{S_b}{\bf v}\cdot d\vec\omega -\int_{S_a}{\bf v}\cdot d\vec\omega=\int_{\partial B}{\bf v}\cdot d\vec\omega=0\ ,$$
which is saying that the integrals $\int_{S_b}{\bf v}\cdot d\vec\omega$ and $\int_{S_a}{\bf v}\cdot d\vec\omega$ over the outward oriented spheres have the same value.
In problem 13 the field ${\bf v}$ is defined on all of ${\mathbb R}^3$, so that $(1)$ may be applied to the ball $B:=\{{\bf x}\>|\>|{\bf x}|\leq R\}$. You have computed ${\rm div}({\bf v})=12(x^2z+y^2z+z^3)$, whence $(1)$ gives
$$\int_{S_R}{\bf v}\cdot d\vec\omega =12 \int_B (x^2z+y^2z+z^3)\ {\rm d}(x,y,z)\ .$$
Now $B$ is symmetric with respect to ${\bf x}\mapsto -{\bf x}$, and each term in the last integral is odd. It follows that the integral is $0$, by symmetry.