How many positive integers n ≤ 3 1 divide 2 0 1 5 2 0 1 6 − 1 ?
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.
Why should the number one(1) be included? the answer should be 18.
Hi E Koh, by definition, 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 .
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 ) does not divide 2016 does not guarantee that n will not divide 2 0 1 5 2 0 1 6 − 1 ; consider n = 2 0 1 4 , for example. Luckily, your method seems to work up to n = 3 1 ;)
Problem Loading...
Note Loading...
Set Loading...
Let M = 2 0 1 5 2 0 1 6 − 1 .
First we will examine the case when n is prime or a prime power. For n = 7 , 1 7 , 1 9 , 2 9 , we see that n − 1 divides 2 0 1 6 = 2 5 3 2 7 , so that n ∣ M by Fermat. Likewise, ϕ ( 2 4 ) = 8 and ϕ ( 3 3 ) = 1 8 divide 2016, so that 2 4 ∣ M and 3 3 ∣ M by Euler.
The prime factors 5 , 1 3 , 3 1 of 2015 will not divide M since they divide M + 1 . We can verify that the two remaining primes, 11 and 23, do not divide M . For example , 2 0 1 5 2 0 1 6 ≡ 2 6 = 6 4 ≡ 9 ( m o d 1 1 ) so that M ≡ 8 ( m o d 1 1 ) .
Thus the integers n ≤ 3 1 that do not divide M are the primes 5 , 1 1 , 1 3 , 2 3 , 3 1 and their multiples 1 0 , 1 5 , 2 0 , 2 5 , 3 0 , 2 2 , 2 6 . The remaining 3 1 − 5 − 7 = 1 9 integers do divide M .