Counting down to 2016

How many positive integers n 31 n \leq 31 divide 201 5 2016 1 2015^{2016}-1 ?


The answer is 19.

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

Otto Bretscher
Dec 24, 2015

Let M = 201 5 2016 1 M = 2015^{2016} - 1 .

First we will examine the case when n n is prime or a prime power. For n = 7 , 17 , 19 , 29 n=7,17,19,29 , we see that n 1 n-1 divides 2016 = 2 5 3 2 7 2016=2^53^27 , so that n M n|M by Fermat. Likewise, ϕ ( 2 4 ) = 8 \phi(2^4)=8 and ϕ ( 3 3 ) = 18 \phi(3^3)=18 divide 2016, so that 2 4 M 2^4|M and 3 3 M 3^3|M by Euler.

The prime factors 5 , 13 , 31 5,13,31 of 2015 will not divide M M since they divide M + 1 M+1 . We can verify that the two remaining primes, 11 and 23, do not divide M M . For example , 201 5 2016 2 6 = 64 9 ( m o d 11 ) 2015^{2016}\equiv 2^6=64\equiv 9 \pmod{11} so that M 8 ( m o d 11 ) M\equiv 8 \pmod{11} .

Thus the integers n 31 n\leq 31 that do not divide M M are the primes 5 , 11 , 13 , 23 , 31 5,11,13,23,31 and their multiples 10 , 15 , 20 , 25 , 30 , 22 , 26 10,15,20,25,30,22,26 . The remaining 31 5 7 = 19 31-5-7=\boxed{19} integers do divide M M .

E Koh
Nov 28, 2020

Why should the number one(1) be included? the answer should be 18.

Hi E Koh, by definition, 1 1 divides all integers. So the answer is indeed 19.

In the future, if you have concerns about a problem's wording/clarity/etc., you can report the problem. See how here .

Brilliant Mathematics Staff - 5 months, 2 weeks ago
Anand Chitrao
Dec 23, 2015

We have to find positive integers 'n' less than or equal to 31 such that 2015^2016 is congruent to 1 mod n. Firstly, we note that 2015 = 5×13×31. We will use Euler's theorem. We fist find all the n < 32 such that gcd(n,2015) = 1. Later, for each n, we check if phi(n) divides 2016. Where phi(n) is the Euler totient function. And the number of such 'n' is the required number.

The fact that ϕ ( n ) \phi(n) does not divide 2016 does not guarantee that n n will not divide 201 5 2016 1 2015^{2016}-1 ; consider n = 2014 n=2014 , for example. Luckily, your method seems to work up to n = 31 n=31 ;)

Otto Bretscher - 5 years, 5 months ago

Log in to reply

I was not knowing that. Thanks

Anand Chitrao - 5 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...