Find $m, n, p$ such that in the expansion of the expression $ \left( x^m + \frac{1}{x^p} \right)^n$ the 12th and the 24th terms contain $x$, respectively $x^5$, and furthermore, this expansion also contains one free term (without $x$).
By using what we are given, I got the following: $$mn - k(m + p) = 0$$ $$mn - 11(m + p) = 1$$ $$mn - 23(m + p) = 5$$
From these expressions you can easily conclude that $mn = -\frac{8}{3}$ and $m + p = -\frac{1}{3}$. By using these in the first equation, we get $k = 8$.
From this point we have three equations with 3 unknown variables. I have no idea what to do next.
Thank you in advance!
According to the requirements we derive three equations: \begin{align*} 11(m+p)-pn&=1\tag{1}\\ 23(m+p)-pn&=5\tag{2}\\ k(m+p)-pn&=0\tag{3}\\ \end{align*} Subtracting (2) from (1) and (3) from (2) gives \begin{align*} 12(m+p)&=4\\ (k-23)(m+p)&=-5 \end{align*}
From the first we derive $m+p=\frac{1}{3}$ and obtain by putting this value in the second equation according to OPs result \begin{align*} k&=8 \end{align*} With $k=8$ we obtain from (3) \begin{align*} p\cdot n=k(m+p)=\frac{8}{3}\tag{4} \end{align*}