Smallest prime divisor

Find the smallest positive prime divisor of

1 60 + 2 60 + 3 60 + + 3 3 60 . 1^{60}+2^{60} + 3^{60}+ \cdots + 33^{60}.


The answer is 17.

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.

2 solutions

Let p p be a prime. Let's review some facts of arithmetic modulo p p .

Let n n be an integer and consider the set S = { 1 , 2 , , p 1 } S = \{1, 2, \dots, p-1\} modulo p p . Define S n = { 1 n , 2 n , , ( p 1 ) n } S^n = \{1^n, 2^n, \dots, (p-1)^n\} . Then S n = { S if ( p 1 ) ∤ n { 1 } if ( p 1 ) n S^n = \begin{cases} S & \text{if}\ (p-1) \not| n \\ \{1\} & \text{if}\ (p-1) | n \end{cases} Both statements follow from Fermat's Little Theorem. We see that taking powers of S S shuffles its elements around bijectively, but if the exponent is a multiple of p 1 p-1 , all powers of S S become equal to 1.

Next, I claim that 1 + 2 + + ( p 1 ) 0 mod p for p > 2. 1 + 2 + \cdots + (p-1) \equiv 0\ \ \ \text{mod}\ p\ \ \ \text{for}\ p > 2. This is easily seen, because the elements can be paired: 1 + ( p 1 ) = p 0 1 + (p-1) = p \equiv 0 , 2 + ( p 2 ) = p 0 2 + (p-2) = p \equiv 0 , and so on. It follows nicely that for p > 2 p > 2 , Σ n = 1 n + 2 n + + ( p 1 ) n { 0 if ( p 1 ) ∤ n 1 if ( p 1 ) n . \Sigma_n = 1^n + 2^n + \cdots + (p-1)^n \equiv \begin{cases} 0 & \text{if}\ (p-1)\not|n \\ -1 & \text{if}\ (p-1)|n\end{cases}. We can freely add the term p n p^n , because p 0 p \equiv 0 anyway.

Next consider the sum T k , n = 1 n + 2 n + + k n T_{k,n} = 1^n + 2^n + \cdots + k^n modulo p p . If k = q p + r k = qp+r , then this sum is equal to T k , n = 1 n + 2 n + + k n = q Σ n + 1 n + 2 n + + r n { 1 n + + r n if ( p 1 ) ∤ n r q if ( p 1 ) n . T_{k,n} = 1^n + 2^n + \cdots + k^n = q\Sigma_n + 1^n + 2^n + \cdots + r^n \equiv \begin{cases} 1^n + \cdots + r^n & \text{if}\ (p-1)\not|n \\ r-q & \text{if}\ (p-1)|n\end{cases}.

Now we have the tools to solve this problem. We check the primes p = 2 , 3 , 5 , 7 , p = 2, 3, 5, 7, \dotsc in order and calculate the sum T = T 33 , 60 T = T_{33,60} modulo p p . The lowest prime p p for which it is zero is the answer.

  • p = 2 p = 2 . It is clear that 17 of the terms are odd, so that T 1 T \equiv 1 mod 2.

  • p = 3 p = 3 . Since ( 3 1 ) 60 (3-1)|60 and 33 = 11 3 + 0 33 = 11\cdot 3 + 0 , T 0 11 1 T \equiv 0 - 11 \equiv 1 mod 3.

  • p = 5 p = 5 . We see ( 5 1 ) 60 (5-1)|60 , and 33 = 6 5 + 3 33 = 6\cdot 5 + 3 , so that T 3 6 2 T \equiv 3 - 6 \equiv 2 mod 5.

  • p = 7 p = 7 . Again ( 7 1 ) 60 (7-1)|60 , and 33 = 4 7 + 5 33 = 4\cdot 7 + 5 , so that T 5 4 1 T \equiv 5 - 4 \equiv 1 mod 7.

  • p = 11 p = 11 . Also ( 11 1 ) 60 (11-1)|60 , and 33 = 3 11 + 0 33 = 3\cdot 11 + 0 , so that T 0 3 8 T \equiv 0 - 3 \equiv 8 mod 11.

  • p = 13 p = 13 . Once again, ( 13 1 ) 60 (13-1)| 60 , and 33 = 2 13 + 7 33 = 2\cdot 13 + 7 , so that T 7 2 5 T \equiv 7 - 2 \equiv 5 mod 13.

  • p = 17 p = 17 . This time ( 17 1 ) ∤ 60 (17-1)\not | 60 . We see that adding 3 4 60 34^{60} will not affect the sum modulo 17, and that gives us 34 = 2 17 + 0 34 = 2\cdot 17 + 0 , so that T 0 T \equiv 0 mod 17.

Here we can stop, because we have found that 17 T \boxed{17}\ |\ T .

I like this solution, but I think there is a problem with part of the proof. You say that S n = S S^n = S if ( p 1 ) n (p-1)\nmid n , but this is definitely not true. For instance, if p = 5 p=5 and n = 2 n = 2 , S n = { 1 , 4 } S^n = \{ 1,4 \} . It's true that S n = S S^n = S if p 1 p-1 and n n are relatively prime, but that's not what you need (when p = 17 p = 17 and n = 60 n = 60 ).

Patrick Corn - 5 years, 3 months ago

Can u pls tell me if I wrong in calculating totient function of 60 and then added 1 to it???Thanks

erica phillips - 2 years, 3 months ago

Why will adding 34^60 not affect the sum??

erica phillips - 2 years, 3 months ago
Jesse Nieminen
Feb 4, 2016

Since ( p 1 ) 60 (p - 1)|60 is true for every prime p less than 17, 1 60 + + 33 60 33 33 p 1^{60} + \cdots + {33}^{60} \equiv 33 - \lfloor \frac{33}{p} \rfloor (mod p p )

Now 33 33 p 33 \equiv \lfloor \frac{33}{p} \rfloor (mod p p ), and this is false for every prime p less than 17.

Prime numbers have a general property:

1 n + 2 n + + ( p 1 ) n 0 1^n + 2^n + \cdots + {(p-1)}^n \equiv 0 (mod p) iff ( p 1 ) n (p-1) \nmid n

Since ( 17 1 ) 60 (17 - 1) \nmid 60

1 60 + 2 60 + 3 60 + + 3 3 60 2 ( 1 60 + 2 60 + 3 60 + + 1 6 60 ) 0 1^{60}+2^{60} + 3^{60}+ \cdots + 33^{60} \equiv 2(1^{60}+2^{60} + 3^{60}+ \cdots + 16^{60}) \equiv 0 (mod 17)

And therefore 17 \boxed{17} is our answer.

Moderator note:

The second line could be phrased in a clearer manner. What you likely intended to say is that

We can check that for primes p < 17 p < 17 , 33 ≢ 33 p ( m o d p ) 33 \not \equiv \lfloor \frac{33}{p} \rfloor \pmod{p} . Hence, these primes p p do not divide our expression.

Well, I think you need to do a little more work to show that nothing smaller than 17 17 divides the sum. Modulo those primes, you get a sum of 1s and 0s, but you do need to count them carefully.

As for your question, it helps a lot to write everything as a power of a primitive root .

Patrick Corn - 5 years, 4 months ago

Log in to reply

Since ( p 1 ) 60 (p - 1)|60 is true for every prime p less than 17, 1 60 + + 33 60 33 33 p 1^{60} + \cdots + {33}^{60} \equiv 33 - \lfloor \frac{33}{p} \rfloor (mod p p )

Now 33 33 p 33 \equiv \lfloor \frac{33}{p} \rfloor (mod p p ), and this is false for every prime p less than 17.

I left this out because I thought it was quite straight forward.

And thanks for the tip!

Jesse Nieminen - 5 years, 4 months ago

Good answer

Bornouk Syncoztan - 5 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...