Can you find it?

Find the smallest positive integer N N such that 1 3 N 1 ( m o d 2013 ) 13^N \equiv 1 \pmod{2013} .


Details and Assumptions:


The answer is 30.

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.

19 solutions

Zubin Mukerjee
Nov 17, 2013

Note that 2013 = 3 11 61 2013 = 3 \cdot 11 \cdot 61 .

This means that 1 3 n 1 ( m o d 2013 ) 13^n \equiv 1 \pmod{2013} is true if and only if all of the following are true:

  • (a) 1 3 n 1 ( m o d 3 ) 13^n \equiv 1 \pmod{3}
  • (b) 1 3 n 1 ( m o d 11 ) 13^n \equiv 1 \pmod{11}
  • (c) 1 3 n 1 ( m o d 61 ) 13^n \equiv 1 \pmod{61}

Which values of n n satisfy (a)?

1 3 n 1 n ( m o d 3 ) 13^n \equiv 1^n \pmod{3}

1 3 n 1 ( m o d 3 ) 13^n \equiv 1 \pmod{3}

Thus, 1 3 n 13^n always leaves a remainder of 1 1 when divided by 3 3 .


Which values of n n satisfy (b)?

Thirteen is the same as two, modulo eleven, so

1 3 n 2 n ( m o d 11 ) 13^n \equiv 2^n \pmod{11}

Since we're dealing with relatively small numbers here, it's faster to simply list out the powers of two modulo eleven than to resort to more clever methods. Just multiply by two and subtract eleven when necessary. Repeat. Get these numbers:

  • 2 0 1 ( m o d 11 ) 2^0 \equiv 1 \pmod{11}
  • 2 1 2 ( m o d 11 ) 2^1 \equiv 2 \pmod{11}
  • 2 2 4 ( m o d 11 ) 2^2 \equiv 4 \pmod{11}
  • 2 3 8 ( m o d 11 ) 2^3 \equiv 8 \pmod{11}
  • 2 4 5 ( m o d 11 ) 2^4 \equiv 5 \pmod{11}
  • 2 5 10 ( m o d 11 ) 2^5 \equiv 10 \pmod{11}
  • 2 6 9 ( m o d 11 ) 2^6 \equiv 9 \pmod{11}
  • 2 7 7 ( m o d 11 ) 2^7 \equiv 7 \pmod{11}
  • 2 8 3 ( m o d 11 ) 2^8 \equiv 3 \pmod{11}
  • 2 9 6 ( m o d 11 ) 2^9 \equiv 6 \pmod{11}
  • 2 10 1 ( m o d 11 ) 2^{10} \equiv 1 \pmod{11}

We can stop since we've found a repeated residue. This means that powers of two (and thus powers of thirteen), modulo eleven, repeat in cycles of 10 10 . In particular,

1 3 n 1 ( m o d 11 ) n 0 ( m o d 10 ) 13^n \equiv 1 \pmod{11} \iff n \equiv 0 \pmod{10}


Which values of n n satisfy (c)?

We do the same thing as above, although this time the multiplication has a danger of being slightly more tedious.

  • 1 3 0 1 ( m o d 61 ) 13^0 \equiv 1 \pmod{61}
  • 1 3 1 13 ( m o d 61 ) 13^1 \equiv 13 \pmod{61}
  • 1 3 2 169 108 47 ( m o d 61 ) 13^2 \equiv 169 \equiv 108 \equiv 47 \pmod{61}
  • 1 3 3 47 13 611 1 ( m o d 61 ) 13^3 \equiv 47 \cdot 13 \equiv 611 \equiv 1 \pmod{61}

Fortunately, we're done fairly early, with a nice result:

1 3 n 1 ( m o d 61 ) n 0 ( m o d 3 ) 13^n \equiv 1 \pmod{61} \iff n \equiv 0 \pmod{3}


We've found (necessary and sufficient) conditions on n n so that 1 3 n 13^n leaves a remainder of 1 1 when divided by 3 3 , 11 11 , and 61 61 , respectively. Thus, 1 3 n 1 ( m o d 2013 ) 13^n \equiv 1 \pmod{2013} exactly when all of these conditions are met:

1 3 n 1 ( m o d 2013 ) n 0 ( m o d 10 ) , n 0 ( m o d 3 ) 13^n \equiv 1 \pmod{2013} \iff n \equiv 0 \pmod{10}, n \equiv 0 \pmod{3}

1 3 n 1 ( m o d 2013 ) n 0 ( m o d 30 ) 13^n \equiv 1 \pmod{2013} \iff n \equiv 0 \pmod{30}

The smallest positive integer that is divisible by both 3 3 and 10 10 is

n = 30 n=30

Why must a,b,c be true

Fatima Soni - 4 years, 3 months ago

Log in to reply

It is the converse of the Chinese remainder theorem

Rac Arora - 1 year, 8 months ago

Excellent explanation!!

Mahdi Raza Khunt - 1 year, 4 months ago

One thing to note is Euler's Theorem won't necessarily give us the value of the smallest N . So, we shall have find out the smallest value of N manually. We know, 2013 = 3 × 11 × 61 2013=3 \times 11 \times 61 and 12 ( 1 3 N 1 ) 12 \mid (13^{N}-1) So we aren't concerned about the 3 3 We know, by Fermat's theorem that 1 3 60 1 ( m o d 61 ) 13^{60} \equiv 1\pmod {61} and 1 3 10 1 ( m o d 11 ) 13^{10} \equiv 1\pmod {11} But, we wish to find smaller solutions. It is understandable that if it works for a smaller N , then N 60 N \mid 60 or N 10 N \mid 10 as the case may be. Luckily we get, 1 3 3 1 ( m o d 61 ) 13^{3} \equiv 1\pmod {61} after the first two trials. And for, 11 11 we have, 1 3 N 2 N ( m o d 11 ) 13^{N} \equiv 2^{N}\pmod {11} After checking for, N = 2 , 5 , 10 N=2,5,10 we get N = 10 N=10 So, we get our required number i.e. N = 3 × 10 = 30 N=3 \times 10 =\boxed{30} Thus, 1 3 30 1 ( m o d 2013 ) \boxed{13^{30} \equiv 1\pmod{2013}}

Lab Bhattacharjee
May 20, 2014

$2013=3\cdot 11\cdot 61$

$13\equiv1\pmod 3\implies 13^1\equiv1\pmod 3, N=1$

$13\equiv2\pmod{11}$ and $\phi(11)=11-1=10$ whose divisors are $1,2,5,10$

Now, $2^2=4\not\equiv1\pmod{11}$ and $2^5=32\not\equiv1\implies N=10$

Now, $\phi(61)=61-1=60$ whose divisors are $1,2,3,4,5,6,10,12,15,20,30,60$

$13^1=13\equiv\pmod{61},13^2=169\equiv47, 13^3\equiv47\cdot13\pmod{61}\equiv611\equiv1 implies N=3$

So, N_{min}=lcm$(1,10,3)=30$

Note that we use LaTeX on Brilliant, not TeX.

Sharky Kesa - 5 years, 12 months ago
Abhishek De
May 20, 2014

One thing to note is Euler's Theorem won't necessarily give the smallest n n . So we, have to do manually. 2013 = 3 11 61 2013=3*11*61 and 12 1 3 N 1 12|13^N-1 so we are concerned not about the three. We see by Fermat's Thm. that 1 3 60 1 ( m o d 61 ) , 1 3 10 1 ( m o d 11 ) 13^{60}\equiv 1 \pmod {61}, 13^{10}\equiv 1\pmod {11} . But we wish to find smaller solutions. It is understandable that if it works for a smaller n, then n 60 n|60 or n 10 n|10 as the case may be. Luckily we get 1 3 3 1 ( m o d 61 ) 13^3\equiv 1\pmod {61} after the first two trials. And for 11, 1 3 N 2 N ( m o d 11 ) 13^N\equiv 2^N\pmod {11} . After checking for n = 2 , 5 , 10 n=2,5,10 , we get n = 10 n=10 . So, our required number is 3 10 = 30 3*10=\boxed{30}

Implicit in this solution, is that if gcd ( a , m ) = 1 \gcd(a, m) = 1 , then there exists a d d such that a k 1 ( m o d n ) a^k \equiv 1 \pmod{n} if and only if k 0 ( m o d d ) k \equiv 0 \pmod{d} . Why is this true?

Common mistakes:

  1. Most were unable to clearly state the above fact. Saying that "N must be at least 10, N must be at least 3" does not imply that "Hence N must be at least 30".

  2. Few solutions clearly showed the value of d d for m = 11 m=11 and m = 61 m = 61 . You can use Euler's Theorem to restrict the values that you have to check.

  3. If you claim that 1 3 30 1 13^{30} -1 is a multiple of 2013, you will need to provide some justification. Also, explain why no smaller multiple exists.

Calvin Lin Staff - 7 years ago
Victor Colombo
May 20, 2014

Factorizing 2013 2013 we find 3 11 61 3*11*61 .

After that we solve the congruence for each factor:

1 3 a 1 ( m o d 3 ) 13^{a} \equiv 1 \pmod{3}

1 3 3 b 1 ( m o d 61 ) 13^{3b} \equiv 1 \pmod{61}

1 3 10 c 1 ( m o d 11 ) 13^{10c} \equiv 1 \pmod{11}

{ a , b , c } N \{a,b,c\} \in \mathbb{N}^{*}

Knowing that solutions of N N must satisfies all the congruences of the factors, we define it by l c m ( a , 3 b , 10 c ) lcm(a,3b,10c) .

To get the wanted solution (smallest possible integer), we assume a = b = c = 1 a = b = c = 1 and so we obtain that N = l c m ( 1 , 3 , 10 ) = 30 N = lcm(1,3,10) = 30

Jiaqi Wang
May 20, 2014

Since 2013 = 3 * 11 * 61, we can break down 13^N \equiv 1 \pmod{2013} to : 13^N \equiv 1 \pmod{61}

13^N \equiv 1 \pmod{11}

13^N \equiv 1 \pmod{3}

Now we just the to find the least common multiple of the equations above.

For 13^N \equiv 1 \pmod{61} we try a few N's: N = 0 mod 61 = 1

N = 1 mod 61 = 13 * 1 mod 61 = 13

N = 2 mod 61 = 13 * 13 mod 61 = 47

N = 3 mod 61 = 13 * 47 mod 61 = 1

So N has to be a multiple of 3.

For 13^N \equiv 1 \pmod{11} we try a few N's:

N = 0 mod 11 = 1

N = 1 mod 11 = 2

N = 2 mod 11 = 2 * 2 mod 11 = 4

("by If a \equiv b \pmod{N}, then ka \equiv kb \pmod{N}, where k is a constant", Brilliant Blog) In this case, k = 13^1, since 13 \equiv 2 \pmod{11}, we can multiply it to the next case to find 13^2 \equiv\pmod{11}, 13^3 \equiv \pmod{11}, etc.

N = 3 mod 11 = 4 * 2 mod 11 = 8

N = 4 mod 11 = 8 * 2 mod 11 = 5

N = 5 mod 11 = 5 * 2 mod 11 = 10

N = 6 mod 11 = 10 * 2 mod 11 = 9

N = 7 mod 11 = 9 * 2 mod 11 = 7

N = 8 mod 11 = 7 * 2 mod 11 = 3

N = 9 mod 11 = 3 * 2 mod 11 = 6

N = 10 mod 11 = 6 * 2 mod 11 = 1

So N has to be a multiple of 10.

Lastly, for 13^N \equiv 1 \pmod{3}:

N = 0 mod 3 = 1

N = 1 mod 3 = 1

N = 2 mod 3 = 1

Since 13 = 1 \pmod{3}, we can keep multiplying 13 in for each succeeding case and all of them will be congruent to 1 \pmod{3}.

Therefore, our answer is the least common multiple of 3 and 10, which is 30.

Marek Bernat
Nov 18, 2013

First notice that 2013 = 3 11 61 2013 = 3 \cdot 11 \cdot 61 . By chinese remainder theorem it's enough to solve the equation one factor at a time. For 3 3 it's always satisfied because 13 1 ( m o d 3 ) 13 \equiv 1 \pmod{3} .

For 11 11 we have to solve 1 3 N 2 N 1 ( m o d 11 ) 13^N \equiv 2^N \equiv 1 \pmod{11} . Because multiplicative group of integers mod 11 11 has 10 10 elements only 2 , 5 , 10 2, 5, 10 are possibilities. It's easy to see that only 10 10 works because 2 2 4 ≢ 1 ( m o d 11 ) 2^2 \equiv 4 \not \equiv 1 \pmod{11} and 2 5 32 1 ≢ 1 ( m o d 11 ) 2^5 \equiv 32 \equiv -1 \not \equiv 1 \pmod{11} .

For 61 61 the task is similar only much harder. In theory we'd have to check all of the divisors of 60 60 . Fortunately 3 3 already works 1 3 3 169 13 47 13 611 1 ( m o d 61 ) 13^3 \equiv 169 \cdot 13 \equiv 47 \cdot 13 \equiv 611 \equiv 1 \pmod{61} and since 2 2 doesn't work ( 1 3 2 47 ≢ 1 ( m o d 61 ) 13^2 \equiv 47 \not \equiv 1 \pmod{61} ), this is the answer (the rest of the divisors being obviously bigger).

Putting it together, the answer is the least common multiple of the solutions found at each factor. That is, 3 10 = 30 3 \cdot 10 = {\bf 30} .

How did you get to N^{2} from N^{13} and then to 1 (mod 11) ?

A Former Brilliant Member - 7 years, 6 months ago

Log in to reply

I think you mean 2 N 2^N and 1 3 N 13^N . 2 13 ( m o d 11 ) 2 \equiv 13 \pmod{11} because 13 = 11 + 2 13 = 11 + 2 , so we can replace 13 13 with 2 2 everywhere. And I didn't really get to 1 1 , it's just an equation for N N that we'd like to solve.

Marek Bernat - 7 years, 6 months ago
Victor Xu
May 20, 2014

Since 2013 = 3 11 61 2013 = 3 \cdot 11 \cdot 61 , we look at the equation in modulo 3 3 , modulo 11 11 and modulo 61 61 . Since 13 1 ( m o d 3 ) , 1 3 N 1 ( m o d 3 ) 13 \equiv 1\pmod 3, 13^N \equiv 1\pmod 3 for all N N . Since 13 2 ( m o d 11 ) 13 \equiv 2\pmod {11} , 1 3 N 2 N 1 ( m o d 11 ) 13^N \equiv 2^N \equiv 1\pmod {11} for N 0 ( m o d 10 ) N \equiv 0\pmod {10} since 2 10 = 1023 1 ( m o d 11 ) 2^{10} = 1023 \equiv 1 \pmod {11} . 1 3 3 = 2197 = 36 61 + 1 1 ( m o d 61 ) 13^3 = 2197 = 36 \cdot 61 + 1 \equiv 1\pmod {61} so taking gcd ( 1 , 10 , 3 ) = 30 \gcd (1,10,3) = 30 , N = 30 N = 30 .

Stella Marie
May 20, 2014

2013 = 3 11 61

13^3%61 = 1 13^anything%3 = 1 13^10%11 = 1

hence, 3*10 = 30

Ankita Maheshwari
May 20, 2014

We first find factors of 2013, i.e. 3 X 61 X 11 Now we observe that 13^N = 1 (mod 3) for any value of N, For 13^N = 1(mod 11) to hold, N has to be at least 10. Similarly, for 13^N = 1(mod 61) is true for N=3.

Hence, minimum value of N=30.

Christopher Boo
Mar 13, 2014

Tools needed to solve the problem:

  • Fermat's Little Theorem
  • Modulo Arithmetic

1 3 N 1 ( m o d 2013 ) 13^N\equiv1 \pmod{2013}

can be expressed as

1 3 N 1 = 2013 k 13^N-1=2013k

Since 2013 = 3 × 11 × 61 2013=3\times11\times61

Then 1 3 N 1 13^N-1 can is divisible by 3 , 11 , 61 3,11,61

Let N = 3 k N=3k , we have

1 3 3 k 1 = 3 × 11 × 61 × k 13^{3k}-1=3\times11\times61\times k

( 1 3 k 1 ) ( 1 3 2 k + 1 3 k + 1 ) = 3 × 11 × 61 × k (13^k-1)(13^{2k}+13^k+1)=3\times11\times61\times k

By trial and error, I somehow know that 1 3 2 k + 1 3 k + 1 13^{2k}+13^k+1 is divisible by 61 61 and 3 3

Since 11 11 is a prime, by Fermat's Little Theorem we have

1 3 10 1 ( m o d 11 ) 13^{10}\equiv1 \pmod{11}

Hence, k = 10 k=10 and N = 30 N=30


Some flaws in the solution:

  1. I can't explain why 1 3 2 k + 1 3 k + 1 13^{2k}+13^k+1 is divisible by 61 61 and 3 3 .

  2. I didn't try that N = 3 k N=3k immediately when I first saw this problem and I tried N = 4 k N=4k instead.

  3. I can't really use Chinese Remainder Theorem and Euler's Theorem in this problem. If you know how, please comment or post a solution!

Since we may need a good solution for this problem, I need more suggestion to complete this solution. Hope you all can help!

You have the correct set of tools.

Hint 1: Show that 1 3 N 1 ( m o d 3 ) 13^N \equiv 1 \pmod{3} for all integers N N .
Hint 2: Show that 1 3 N 1 ( m o d 11 ) 13^N \equiv 1 \pmod{11} if and only if N 0 ( m o d 10 ) N \equiv 0 \pmod{10} .
Hint 3: Figure out the case for 1 3 N 1 ( m o d 61 ) 13^N \equiv 1 \pmod{61} .

Hence conduced that the smallest possible positive integer is N = 30 N = 30 .

Calvin Lin Staff - 7 years, 3 months ago

Log in to reply

Thanks!

Christopher Boo - 7 years, 3 months ago
Sanjay Banerji
Jan 4, 2014

import java.io.*;

import java.math.*;

public class CanYouFindIt

{

public static void main(String args[])

{

     BigInteger b=new BigInteger("13");

     BigInteger v=new BigInteger("2013");

     BigInteger k=new BigInteger("2");

     boolean c=false;

     int i=1;

     while(c==false)

     {

        b=b.multiply(BigInteger.valueOf(13));

        k=b.mod(v);

        if(k.equals(BigInteger.ONE))

            c=true;

        i++;

     }

     System.out.println(i);

}

}

OUTPUT :: 30

i did the same in C++...

Vighnesh Raut - 7 years, 2 months ago
Danny He
Nov 19, 2013

Given that 2013 = 3 11 13 61 2013 = 3*11*13*61 and 1 3 N = 1 ( m o d 2013 ) 13^N = 1 \left(mod \: 2013\right) , it must therefore be true that 1 3 N = 1 ( m o d 3 ) = 1 ( m o d 11 ) = 1 ( m o d 61 ) 13^N = 1 \left(mod \: 3\right) = 1 \left(mod \: 11\right) = 1 \left(mod \: 61\right)

13 = 1 ( m o d 3 ) 13 = 1 \left(mod \: 3\right) so therefore 1 3 N = 1 ( m o d 3 ) N Z + 13^N = 1 \left(mod \: 3\right) \forall N \in \mathbb{Z}^+

13 = 2 ( m o d 11 ) 13 = 2 \left(mod \: 11\right) so:

2 2 = 4 ( m o d 11 ) 2^2 = 4 \left(mod \: 11\right)

2 3 = 8 ( m o d 11 ) 2^3 = 8 \left(mod \: 11\right)

2 4 = 5 ( m o d 11 ) 2^4 = 5 \left(mod \: 11\right)

2 5 = 10 ( m o d 11 ) 2^5 = 10 \left(mod \: 11\right)

2 6 = 9 ( m o d 11 ) 2^6 = 9 \left(mod \: 11\right)

2 7 = 7 ( m o d 11 ) 2^7 = 7 \left(mod \: 11\right)

2 8 = 3 ( m o d 11 ) 2^8 = 3 \left(mod \: 11\right)

2 9 = 6 ( m o d 11 ) 2^9 = 6 \left(mod \: 11\right)

2 10 = 1 ( m o d 11 ) 2^{10} = 1 \left(mod \: 11\right)

Therefore, 1 3 10 = 1 ( m o d 11 ) 13^{10} = 1 \left(mod \: 11\right) and similarly 1 3 N = 1 ( m o d 11 ) N = 10 n , n Z + 13^N = 1\left(mod \: 11\right) \forall N = 10n, n \in \mathbb{Z}^+

13 = 13 ( m o d 61 ) 13 = 13 \left(mod \: 61\right)

1 3 2 = 47 ( m o d 61 ) 13^2 = 47 \left(mod \: 61\right)

1 3 3 = 1 ( m o d 61 ) 13^3 = 1 \left(mod \: 61\right)

Therefore 1 3 3 = 1 ( m o d 61 ) 13^3 = 1 \left(mod \: 61\right) and so 1 3 N = 1 ( m o d 61 ) N = 3 n , n i n Z + 13^N = 1 \left(mod \: 61\right) \forall N = 3n, n\ in \mathbb{Z}^+

We now know that N N is of the shape 10 n 10n and 3 k 3k . Since the L C M ( 10 , 3 ) LCM \left(10, 3\right) is 30 30 , the smallest value of N N such that 1 3 N = 1 ( m o d 2013 ) 13^N = 1 \left(mod \: 2013\right) is N = 30 N=30

For congruence notation you can use a\equiv b \pmod{n} to obtain a b ( m o d n ) a\equiv b \pmod{n} .

Jorge Tipe - 7 years, 6 months ago

Log in to reply

Thank you, tried to find it but I had to type this before a lesson so I didn't have time :(

Danny He - 7 years, 6 months ago

In the first line you have written 2013=3×11×13×61, please correct it.

Racchit Jain - 5 years, 4 months ago
Aditya Parson
Nov 17, 2013

2013 = 3 11 61 2013=3\cdot 11 \cdot 61

1 3 N 13^N should leave the same remainder, 1 1 , when divided by 3 , 11 , 3,11, or 61 61 .

1 3 N 1 N 1 ( m o d 3 ) 13^N \equiv 1^N \equiv 1 \pmod{3}

This shows us that the prime 3 3 does not influence the value of N N .

1 3 N 2 N 1 ( m o d 11 ) 13^N \equiv 2^N \equiv 1 \pmod{11}

We need to find the multiplicative order of 2 2 modulo 11 11 . Fermat's theorem tells us that N N "can" be a multiple of 10 10 . We can easily check that, 10 is the smallest solution to the above congruence.

We deduce that N = 10 k N=10k for some positive integer k k .

The last congruence:

1 3 10 k 1 ( m o d 61 ) 13^{10k} \equiv 1 \pmod{61}

By FLT a possible solution is N = 60 , k = 6 N=60, k=6 , but we do not know that is the minimum or not.

We note that :

1 3 10 ( 14 ) 5 14 1 3 2 13 ( m o d 61 ) 13^{10} \equiv (-14)^5 \equiv -14 \cdot 13^2 \equiv 13 \pmod{61}

So, 1 3 10 + 10 1 3 2 47 ( m o d 61 ) 13^{10+10} \equiv 13^2 \equiv 47 \pmod{61} , and 1 3 20 + 10 47 13 1 ( m o d 61 ) 13^{20+10} \equiv 47 \cdot 13 \equiv 1 \pmod{61}

We conclude that N = 30 k N=30k , which is minimised for k = 1 k=1 , and thus the answer is 30 \boxed{30} .

Bill Bell
Jun 17, 2015

Although this solution might disgust most of you, it's worth nothing that values of 13 N { 13 }^{ N } for successive values of N N can be cheaply calculated using one of the most basic properties of modular arithmetic. (Calculating them individually is expensive.)

A split-second after launch we see:

169 184 379 901 1648 1294 718 1282 562 1267 367 745 1633 1099 196 535 916 1843 1816 1465 928 1999 1831 1660 1450 733 1477 1084 1 : 30

Doing this with a calculator wouldn't take overly long.

1
2
3
4
5
6
7
sid = 3
while 1:
    rem = (13**sid)%2013
    if rem==1:
        print sid
        break
    sid = sid + 1

Vincent Miller Moral - 5 years, 11 months ago
Manisha Pandey
May 20, 2014

13^n equivalent to 1 mod 2013. It means we have to find the multiple of 2013 which will give the value equivalent to ( 13^n -1).. so we got 30.

Ashish Gupta
Feb 12, 2017

Infinite Loop; hopefully there's a solution :)

1
2
3
4
5
6
7
sid = 3
while 1:
    rem = (13**sid)%2013
    if rem==1:
        print sid
        break
    sid = sid + 1

Noel Lo
Jun 18, 2015

Since 1 3 N = 1 ( m o d 2013 ) 13^N = 1 (mod 2013)

We are looking for 1 3 N 1 = 0 ( m o d 2013 ) 13^N - 1 = 0 (mod 2013)

We know 2013 = 3 × 11 × 61 2013 = 3 \times 11 \times 61 aand 1 3 N 1 = ( 13 1 ) ( 1 3 N 1 + 1 3 N 2 + . . . . + 1 ) 13^N - 1 = (13 - 1)(13^{N-1} + 13^{N-2} + .... +1)

= 12 ( 1 3 N 1 + 1 3 N 2 + . . . . + 1 ) = 12(13^{N-1} + 13^{N-2} + ....+1) . Since 12 is divisible by 3, we have managed to account for divisibility by 3.

Now let's prove divisibility by 11 and 61. We see that 1 3 2 + 13 + 1 = 183 = 3 × 61 13^2+ 13 + 1 = 183 = 3 \times 61 , so we have another factor of 3 and a factor of 61. The factor of 61 cannot possibly be in 12, it has to be in ( 1 3 N 1 + 1 3 N 2 + . . . . + 1 ) (13^{N-1} + 13^{N-2} + ....+1) and we need 1 3 2 + 13 + 1 13^2+13+1 to be a factor of ( 1 3 N 1 + 1 3 N 2 + . . . . + 1 ) (13^{N-1} + 13^{N-2} + ....+1) so for this to be possible, ( N 1 ) + 1 (N-1)+1 has to be divisible by 2 + 1 2+1 or rather N N has to be divisible by 3 3 .

We are now left with divisibility by 11. We see that the factor of 11 cannot be in 12, so it HAS to be in ( 1 3 N 1 + 1 3 N 2 + . . . . + 1 ) (13^{N-1} + 13^{N-2} + ....+1) as well. Now 1 3 N 1 + 1 3 N 2 + . . . . + 1 = 2 N 1 + 2 N 2 + . . . . + 1 ( m o d 11 ) 13^{N-1} + 13^{N-2} + ....+1 = 2^{N-1} + 2^{N-2} + ....+1 (mod 11)

= 2 N 1 ( m o d 11 ) = 2^N-1 (mod 11) . We see that the smallest possible value of N is 10 as we have 2 10 1 = ( 2 5 1 ) ( 2 5 + 1 ) = 33 ( 2 5 1 ) 2^{10}-1 = (2^5 -1)(2^5+1) = 33(2^5 - 1) which is clearly divisible by 11 since 33 is divisible by 11. Hence for 1 3 9 + 1 3 8 + . . . + 1 13^9 + 13^8 + ...+1 to be a factor of ( 1 3 N 1 + 1 3 N 2 + . . . . + 1 ) (13^{N-1} + 13^{N-2} + ....+1) , n n has to be divisbile by 10 10 too.

We have 3 × 10 = 30 3 \times 10 = \boxed{30} as our smallest possible value.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...