Problem :
Determine all value of $p,q\in\mathbb{N}$ such that :
$$2^{4}5^{3}=(p+1)(2q+p)$$
My try :
$$2q+p-p-1=2q$$
So $2p+q$ odd or $p+1$ odd
I'm going to try all divisible :
$$1,4,5,8,25,125,10,50,250,20,200,500,40,200,1000,16,80,400,2000$$
So : we see that :
$p=0,q=1000$ is a solution
$p+1=16$ and $2q+p=125$ we find $(p,q)=(15,55)$
Also : $250=p+1$ and $2q+p=8$
Is my solution correct?
You are right that one of $p+1$ and $2q+p$ is odd and one even. Furthermore, $2q+p>p+1$.
So $(p+1,2q+p)$ is one of $(1,16\times 125),(5,16\times 25),(25,16\times 5),(16,125)$
The first of these gives $p=0$ which is not a natural number.
Otherwise we have $p=4,q=198$ or $p=24,q=28$ or $p=15,q=55$.