I want to solve the DLP for $p=29$, $a=2$ and $b=5$ using the method of Pohlig-Hellman.
$$$$
I have done the following:
We have that $p-1=28=2^2\cdot 7$.
We get \begin{align*}&x_2= x\pmod {2^2} \\ &x_7=x\pmod 7\end{align*}
$x_2$ is a number $\mod 4$, so $x_2=c_0+c_1(2)$ with coefficients $0$ or $1$.
We have that \begin{equation*}b^{\frac{p-1}{2}}=5^{14}\equiv 1\end{equation*}
Since this is equal to $a^{c_0\cdot \frac{p-1}{2}}$ we have that $c_0=0$.
We divide $b$ by $a^{c_0}=1$ and we get $b\cdot a^{-c_0}=b=5$.
We have that $5^{\frac{p-1}{4}}=5^7\equiv 28$.
Since this is equal to $a^{c_1\cdot \frac{p-1}{2}}$ we have that $c_1=1$.
Therefore, $x_2=c_0+c_1(2)=1$.
$x_7$ is a number $\pmod 7$.
So, $x_7=c_0$ with $c_0\in \{0,\ldots , 6\}$.
We have that $b^{\frac{p-1}{7}}=5^4\equiv 16$.
This this is equal to $a^{c_0\cdot \frac{p-1}{7}}=2^{4c_0}$ we have that $c_0=1$.
So $x_7=c_0(7)=1$.
We use the Chinese theorem for the system \begin{align*}x=1\pmod 4 \\ x=1\pmod 7\end{align*} Solving this one we get that $x\equiv 1$.
Is everything correct?