RMO Practice Problems - Number Theory #2

1 + 1 2 + 1 3 + + 1 23 = a 23 ! \Large 1+\dfrac{1}{2} + \dfrac{1}{3} + \ldots + \dfrac{1}{23} = \dfrac{a}{23!}

Find the remainder when a a is divided by 13.


Try this set RMO Practice Problems


The answer is 7.

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.

5 solutions

Priyanshu Mishra
Sep 30, 2015

The given expression is equivalent to:

a = 23 ! + 23 ! 2 + 23 ! 3 + . . . + 23 ! 23 \large\ a=23!+\frac { 23! }{ 2 } +\frac { 23! }{ 3 } +...+\frac { 23! }{ 23 }

Observe that each term except 23 ! 13 \large\ \frac { 23! }{ 13 } on the right hand side is divisible by 13 13 .

Whence,

a = 23 ! 13 \large\ a=\frac { 23! }{ 13 }

= 12 ! 14.15...23 \large\ =12!14.15...23

= 12 ! ( 1 + 13 ) ( 2 + 13 ) . . . ( 10 + 13 ) \large\ =12!(1+13)(2+13)...(10+13)

12 ! 10 ! m o d 13 ) \large\ \equiv 12!10! mod {13})

Now, by Wilson Theorem we know that for any prime p p , we have ( p 1 ) ! 1 ( m o d p ) (p-1)! \equiv -1\pmod {p} .

Thus, 12 ! 1 ( m o d 13 ) ) 12 ( m o d 13 ) 12! \equiv -1\pmod {13}) \equiv 12 \pmod {13} .

Hence,

11 a 11 × 12 × 10 ! ( m o d 13 ) 12 ! ( m o d 13 ) 1 ( m o d 13 ) \large\ 11a\quad \equiv \quad 11\times 12\times 10!\quad (mod\quad 13)\\ \quad \quad \quad \quad \equiv \quad 12!\quad (mod\quad 13)\\ \quad \quad \quad \quad \equiv \quad -1\quad (mod\quad 13)

Now,

a 66 a ( m o d 13 ) 6 × 11 a ( m o d 13 ) 6 ( m o d 13 ) 7 ( m o d 13 ) . \large\ a\quad \equiv \quad 66a\quad (mod\quad 13)\quad \equiv \quad 6\times 11a\quad (mod\quad 13)\\ \quad \quad \equiv \quad -6\quad (mod\quad 13)\quad \equiv \quad 7\quad (mod\quad 13).

and we are done.

So, Answer : 7 \boxed{7}

Can anyone post a solution without mod, I am only in 10th and do not know what is mod

Aarabdh Tiwari - 5 years, 6 months ago

Log in to reply

I think that before solutions you should read the wiki posted by this website.

Priyanshu Mishra - 5 years, 6 months ago

I still don't understand why use 66a (mod 13) in particular

Eugenza Ryn - 4 years, 11 months ago

Log in to reply

I think because 66= 1 mod 13 and multiplying it by a will not make any difference in a mod 13

Rj Lax - 3 years, 3 months ago
Alan Yan
Sep 25, 2015

Equivalent to a 23 ! 13 12 ! 10 ! 7 (mod 13) a \equiv \frac{23!}{13} \equiv 12! \cdot 10! \equiv \boxed{7} \text{ (mod 13)}

This is an ARML question.

Could you please post details for this solution

Hemanth Koundinya - 5 years, 8 months ago

How did u use mod??!! I didn't understand!!

PUSHPESH KUMAR - 5 years, 8 months ago

Log in to reply

The rest of the fractions have a factor of 13, so they become zero.

Alan Yan - 5 years, 8 months ago

Log in to reply

Yaa yaa, that I know but how to find remainer when a=23!/13 is divided by 13. How to use mod..!!

PUSHPESH KUMAR - 5 years, 8 months ago

Log in to reply

@Pushpesh Kumar List out the terms and pair them so that the products become 1 mod 13.

Alan Yan - 5 years, 8 months ago

Log in to reply

@Alan Yan i got a=23!/13

but dunno to find the remainder using mod

Akash singh - 5 years, 8 months ago

You get an integer but you do not get an integer divisible by 13. (directed at @below)

Vikram Sarkar - 10 months, 3 weeks ago

23!=1.2.3.4.....13.....23 right? Then if you divide it by 13 it should be an integer..Why are you getting z as the remainder?

hari Varadarajan - 5 years, 8 months ago
Shabihe Baqri
Sep 26, 2015

Alan Yan@ Your solution is very precise but I'd like u not to snub those who are having difficulty grasping it.

Lu Chee Ket
Oct 13, 2015

Use all sorts of ways to find that a/ 23! = 444316699/ 118982864

a = 23! 444316699/ 118982864 = 96538966652493066240000

Note that 2 x 5, 4 x 10, 6 x 15 and 8 x 20 give rise to ?0000, we can be confident that the a obtained is exact. 444316699 = 761 x 583859 is a result of addition for big prime number(s). (3^2) and (5) are cancelled between numerator and denominator of the big fraction.

96538966652493066240000 Mod 13 = 7

Very very poor method! :(

Md Zuhair - 3 years, 8 months ago

Boooooooo......

Ratan Ojha - 2 years, 8 months ago
Toby M
Dec 7, 2020

As others have stated, a = 23 ! 13 ( m o d 13 ) a = \frac{23!}{13} \pmod {13} as all the other terms have a factor of 13 13 in their factorial, so they equal 0 0 modulo 13 13 .

Modulo 13 13 , this is just: ( 1 2 3 12 ) ( 14 15 23 ) 12 ! ( 1 2 10 ) 12 ! ( 1 2 10 11 12 ) 1 1 1 1 2 1 12 ! 12 ! 1 1 1 1 2 1 . (1 \cdot 2 \cdot 3 \cdots 12) \cdot (14 \cdot 15 \cdots 23) \equiv 12! \cdot (1 \cdot 2 \cdots 10) \equiv 12! \cdot (1 \cdot 2 \cdots 10 \cdot 11 \cdot 12) \cdot 11^{-1} \cdot 12^{-1} \equiv 12! \cdot 12! \cdot 11^{-1} \cdot 12^{-1}.

By Wilson's theorem, 12 ! 1 ( m o d 13 1 ) 12! \equiv -1 \pmod{13-1} since 13 13 is prime. Also, if a 1 2 1 ( 1 ) 1 ( m o d 13 ) a \equiv 12^{-1} \equiv (-1)^{-1} \pmod {13} , ( 1 ) a 1 ( m o d 13 ) a 1 ( m o d 13 ) (-1)a \equiv 1 \pmod {13} \Rightarrow a \equiv -1 \pmod {13} . Similarly, if b 1 1 1 ( 2 ) 1 ( m o d 13 ) , 2 b 1 ( m o d 13 ) b 7 ( m o d 13 ) b \equiv 11^{-1} \equiv (-2)^{-1} \pmod {13}, -2b \equiv 1 \pmod {13} \Rightarrow b \equiv -7 \pmod {13} .

Altogether, we have that: a 1 1 1 7 ( m o d 13 ) a 7 ( m o d 13 ) a \equiv -1 \cdot -1 \cdot -1 \cdot -7 \pmod {13} \Rightarrow a \equiv \boxed{7} \pmod {13} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...