0
$\begingroup$

I have the following question:

Find the largest prime factor of: $17^3 - 5^3$

Without any theory or tricks, I solved this the long way and I got $19$ as the answer. Though I would like to know if there any quick way of solving this. I understand the concepts of exponentiation and prime decomposition, but that doesn't help me here.

$\endgroup$
3
  • $\begingroup$ $x^3-y^3=(x-y)(x^2+xy+y^2)$ $\endgroup$
    – lulu
    Commented Feb 13, 2017 at 13:42
  • 1
    $\begingroup$ Do you mean "Find a prime factor"? Or "Find the prime factorization"? The first is trivial: both $17^3$ and $5^3$ are odd, so their difference is even, and $2$ is a prime factor. $\endgroup$
    – Wolfram
    Commented Feb 13, 2017 at 13:44
  • $\begingroup$ @Wolfram, perhaps what's meant is to find the largest prime factor. $\endgroup$ Commented Feb 13, 2017 at 14:03

1 Answer 1

6
$\begingroup$

Use the identity $a^3-b^3=(a-b)(a^2+ab+b^2)$, where $a=17$ and $b=5$.

You will end up with $(12)(399)$.

Notice that $399=400-1=20^2-1^2$. Use the difference of two squares identity.

So $399=(20+1)(20-1)=21*19$.

Therefore the expression is equal to $12*21*19$. It is easy to see that the prime factors are $2, 3, 7$ and $19$.

$\endgroup$
1
  • 8
    $\begingroup$ ... then, notice that $21=5^2-2^2=(5-2)(5+2)\quad \ddot\smile$. $\endgroup$
    – user228113
    Commented Feb 13, 2017 at 13:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .