Sum of powers of 5 is a prime

5 5 n + 1 + 5 5 n + 1 \large{5^{5^{n+1}}+5^{5^n}+1} How many integers n n exist such that the above expression is a prime number?

Infinitely many 1 5 0 3

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.

1 solution

Chris Lewis
Jul 11, 2019

To get integer results, we only need to consider n 0 n \ge 0 . Trying out a few small values of n n (with the help of Wolfram|Alpha) suggests it's worth looking at this expression modulo 31 31 .

Let x n = 5 5 n x_n=5^{5^n} . We're interested in x n + 1 + x n + 1 x_{n+1}+x_n+1 .

We have x n + 1 = x n 5 x_{n+1}=x_n^5 .

From this, it's easy to show that x n 5 ( m o d 31 ) x_n \equiv 5 \pmod{31} for even n n and x n 25 ( m o d 31 ) x_n \equiv 25 \pmod{31} for odd n n .

Hence x n + 1 + x n + 1 0 ( m o d 31 ) x_{n+1}+x_n+1 \equiv 0 \pmod{31} for all n n , so all of these numbers are divisible by 31 31 , and so none of them are prime. (Trivially, all such integers are greater than 31 31 .)

Awesome! Thanks for sharing.

Here is another trick which is quite usual when dealing with primes. It also shows how the problem might have been created originally.

Let m = 5 5 n m=5^{5^n} for some integer m m . Then observe that, 5 5 n + 1 + 5 5 n + 1 = m 5 + m + 1 = ( m 2 + m + 1 ) ( m 3 m 2 + 1 ) . 5^{5^{n+1}}+5^{5^n}+1=m^5+m+1=(m^2+m+1)(m^3-m^2+1). Trivially, both m 2 + m + 1 m^2+m+1 and m 3 m 2 + 1 m^3-m^2+1 are greater than 1. Hence the conclusion follows.

Sathvik Acharya - 1 year, 11 months ago

Log in to reply

Ha, yes, that's neater!! I didn't spot the factorisation.

Chris Lewis - 1 year, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...