Find the largest prime factor

What is the largest prime factor of 5 8 + 2 2 5^8 + 2^2 ?


The answer is 677.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Calvin Lin Staff
May 13, 2014

Consider the factorization a 4 + 4 = a 4 + 4 a 2 + 4 4 a 2 = ( a 2 + 2 ) 2 ( 2 a ) 2 = ( a 2 + 2 a + 2 ) ( a 2 2 a + 2 ) . a^4 + 4 = a^4 + 4a^2 + 4 - 4a^2 = (a^2 + 2)^2 - (2a)^2 = (a^2 + 2a + 2)( a^2 - 2a + 2 ).

Then 5 8 + 2 2 = 5 8 + 4 = ( 2 5 2 + 2 × 25 + 2 ) ( 2 5 2 2 × 25 + 2 ) 5^8 + 2^2 = 5^8 + 4 = (25^2 + 2 \times 25 + 2)(25^2 - 2 \times 25 + 2) . The first term is equal to 677, which we can verify is a prime. The second term is less that 677, hence any of its prime factors will be less than 677. Therefore, 677 is the largest prime factor of 5 8 2 2 5^8 2^2 .

Hana Wehbi
May 29, 2016

N = 5 8 + 2 2 . N N=5^{8}+2^{2}. \ N can be expessed as 62 5 2 + 2 2 625^{2}+2^{2} . Notice that g c d ( 625 , 2 ) = 1 gcd(625,2)=1

According to theorem by Euler all the divisors of 62 5 2 + 2 2 625^{2}+2^{2} are of the form p 2 + q 2 p^{2}+q^{2} .

Since 625 = 25 \sqrt{625}=25 . Let p = 24 p=24 and q = 1 q=1 \implies 2 4 2 + 1 2 = 577 24^{2}+1^{2}=577 , which is prime; but we are going to take 677 677 .

To see from where we got 677 677 , break down N N into two factors in this manner: 5 8 + 2 2 = ( ( 5 2 + 1 ) 2 + 1 ) ( ( 5 2 1 ) 2 + 1 ) 5^{8}+2^{2}=((5^{2}+1)^{2}+1)((5^{2}-1)^{2}+1) = 677 × 577 677\times577 \implies the answer is 677 677 because it is the largest prime factor.

Jose Lavariega
Oct 18, 2015

What I did was write a quick code on Eclipse. It uses a while loop to countdown the numbers i that are divisible by x. If my english makes absolutely no sense, here is an image there may or may not be some redundancies there.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...