I found in Batygin and Toptygin problems in electrodynamics a particular problem:
Density of charge is $$\rho = \rho_{0}\cos{\alpha x} \cos{\beta y} \cos{\gamma z}$$ in whole space. Find electric potential $\phi$.
Any hints where to start with? Direct integration isn't really pleasant thing to do by hand here. I can't think of any useful Gauss surface here neither.
Ok, I've found one way to get the right result but it requires a little cheating. First let's look at the Poisson's equation:
$\Delta \phi = -4\pi\rho$
My anzatz here is: potential $\phi(x, y, z)$ has to be a product: $\phi(x, y, z) = \phi_{x}(x)\phi_{y}(y)\phi_{z}(z)$ and that these potentials $\phi_{i}(i) = A_{i}\cos{\xi_{i}x_{i}}$,
where $A_{i}$ are constants, $\xi_{i} = \{\alpha, \beta, \gamma \}$ and $x_{i} = {x, y, z}$ for $i = \{1, 2, 3\}.$
I plugged it to Poisson's equation and got an answer:
$\phi(x, y, z) = \frac{4\pi \rho_{0}}{\alpha^2 + \beta^2 + \gamma^2}\cos{\alpha x} \cos{\beta y} \cos{\gamma z}$
Sadly, solution requires fortunate guess and I'm really curious if anybody knows more analytic approach.