$P$ is an integer . $ Q$ is an odd positive integer.
If $P^2 + 17^Q = 10^8$ , what is the number of values that $P$ can take?
$P$ is an integer . $ Q$ is an odd positive integer.
If $P^2 + 17^Q = 10^8$ , what is the number of values that $P$ can take?
There is no such $P$, thus the answer is $0$.
The reason is because $x^2 \equiv 0,1 \pmod {4}$ for all $x \in \mathbb{Z}$.
Assume there exists such integer $P,Q$, that $P^2+17^{Q}=10^{8}$, Tten we have that$$P^2=10^{8}-(16+1)^{Q} \equiv 0-1 \equiv 3 \pmod {4}$$ So $P^2 \equiv 3 \pmod {4}$. Contradiction to the statement above.
You can see this is true no matter the value of $Q$, so the condition that $Q$ is odd is unnecessary.