This is a strange question, but consider the following type of equation, which falls out of a problem I'm working on in a different field:
$(1-n)^3 x^2 + c_{1}nx + c_{2}n = 0$
where $n,c_{1}, c_{2} \geq 0$ and $\in \mathbb{Z}$. By the rational root theorem, I believe that any integer solution of $x$ must be a factor of $c_{2}n$ - but because $n$ is common to every co-efficient bar the leading one, can I reason as follows?
Reasoning: $(1-n)^3x^2$ must be divisible by $n$, which means that unless $n=1$, the co-efficient cannot be divided by $n$ and thus either $n=1$, or $x = wn$.
I'm not sure ifI'm on the right track here - would I instead have to conclude that $x^2 = wn$ or can I make the inference I have above? I have a whole class of polynomials were all terms bar the leading one have a repeated factor, and I'd be grateful for any advice!
if $a$ is the leading coefficient and $n$ the repeated factor, with $\gcd(a,n)$ , call the degree $d,$ we get $$ a x^d + c_1 n x^{d-1} + \cdots + c_{d-1} n x + c_d n \; , \; $$ and we are setting this to $0,$ we get $$ a x^d \equiv 0 \pmod n $$ Next, there is a multiplicative inverse $b,$ that is $ab \equiv 1 \pmod n,$ as we can find a Bezout combination $$ ab - n v = 1. $$ Take $ a x^d \equiv 0 \pmod n $ and multiply both sides by $b,$ so $$ x^d \equiv 0 \pmod n \; \; . \; \; $$
If $n$ is squarefree, you have your conclusion. If $n$ is not divisible by any $m^d$ for $m > 1,$ you still get your conclusion. What if $n = k^d$ for example?
Take $n = 9,$ and
$$ -512x^2 + 9x + 18378 $$ which is $$ -(x-6)(512x+3063) $$
$$ -512x^2 + 9x + 18378 = -(x-6)(512x+3063) $$