Thrill Of JEE Algebra

Repunits are the numbers that contain only the digit 1 in their writing, namely numbers of the form 1111......1.

The 123-digit repunit when divided by 271, leaves a remainder of?


Try out other JEE problems!
110 101 111 123

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.

1 solution

Ravi Dwivedi
Jan 22, 2016

Note that when 11111 11111 is divided by 271 271 we get a remainder of 0 0

We write the repunit of 1111......123 1111......123 times= 11111 ( 5 t i m e s ) 11111 ( 5 t i m e s ) . . . . . 11111 ( 5 t i m e s ) 111 11111(5 times)11111(5times).....11111(5times)111

So the remainder is 111 \boxed{111}

Moderator note:

Good observation. What made you think that one of these repunits is divisible by 271?

It can be proved by the Pigeon Hole principle that some repunit is divisible by each odd integer which is not a multiple of 5 5 .

If the odd integer not divisible by 5 is n n , consider the first n repunits, namely, R 1 = 1 , R 2 = 11 , R 3 = 111 , . . . . , R n = 11...1111 R_1=1, R_2=11, R_3=111, .... , R_n=11...1111 ( n n times).

If one of these repunits leave a remainder 0 0 when divided by n n , we are done.

Else, let us assume that none of these repunits leave a remainder of 0 0 when divided by n n . So they can leave n 1 n-1 possible remainders leaving out 0 0 , that is { 1 , 2 , , n 1 } \{1, 2, \cdots, n-1\} . But there are n n remainders here, so by Pigeon Hole principle, two of the repunits must leave the same remainder when divided by n. So there exists 1 i , j n 1\le i, j\le n such that R i = R j ( m o d n ) R_i=R_j(modn) .

So n ( R i R j ) n|(R_i-R_j) .

Let us assume without loss of generality that i > j i>j .

Then we have R i R j = R i j . 1 0 i j 1 R_i-R_j=R_{i-j}.10^{i-j-1} .

So we have that,

n R i j . 1 0 i j 1 n|R_{i-j}.10^{i-j-1} ,

but gcd ( n , 2 ) = 1 (n,2)=1 as n is odd, and g c d ( n , 5 ) = 1 gcd(n,5)=1 as n is not divisible by 5, so g c d ( n , 2 5 ) = 1 gcd(n,2*5)=1 as \2) are 5 5 both primes. So g c d ( n , 10 ) = 1 gcd(n,10)=1 .

So, n R i j n|R_{i-j} , as it does not divide 1 0 i j 1 10^{i-j-1} , since g c d ( n , 10 ) = 1 gcd(n,10)=1 .

Soumava Pal - 5 years, 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...