Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

How should I proceed to find all prime numbers $x,c,p$ such that $$x^3-px^2-cx-5c=0$$

share|cite|improve this question

1 Answer 1

up vote 7 down vote accepted

If $x^3-px^2-cx-5c=0$, then $x$ divides $5c$. Since $x$ and $c$ are prime, we have the two possibilities $x=c$ and $x=5$.

Suppose $x=c$. Substitute. We get $c^3-(p+1)c^2-5c=0$, so $c^2-(p+1)c-5=0$, so $c$ divides $5$, so $c=5$. Therefore definitely $x=5$.

Substitute. We get $125-25p-10c=0$. Since $25$ divides $10c$, it follows that $c=5$. Thus $p=3$.

share|cite|improve this answer
can you please explain why $25$ divides $5c$ ? I can only see $25$ divides $10c$ – Belgi Aug 7 '12 at 3:20
@Belgi: Thanks. I should have written $25$ divides $10c$. Fixed. It still follows that $c=5$. – André Nicolas Aug 7 '12 at 3:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.