\[w^{\prime\prime}+\left(\eta-\tfrac{1}{8}\xi^{2}-(p+1)\xi\cos\left(2z\right)+%
\tfrac{1}{8}\xi^{2}\cos\left(4z\right)\right)w=0,\]