What is the Remainder when Dividing a Number with 1000 Ones by 1001?

  • Thread starter Thread starter murshid_islam
  • Start date Start date
AI Thread Summary
The problem involves finding the remainder when a number consisting of 1000 ones is divided by 1001. The calculation shows that the number can be expressed as (10^999 - 1)/9, and through modular arithmetic, it is determined that 10^1000 - 1 is congruent to 990 modulo 1001. The elegant solution presented involves recognizing patterns in the digits and simplifying the problem to finding the remainder of 1111 when divided by 1001, which also results in 110. The discussion confirms that the remainder is 110, and acknowledges the neatness of the alternative solution provided. The conclusion is that both methods lead to the same remainder of 110.
murshid_islam
Messages
468
Reaction score
21
here is the problem:
1. what is the remainder if 11...1 is divided by 1001? (the dividend has 1000 1's)

this is what i did (please tell me if there is any other methods of doing it):

11...1

=10^{999} + 10^{998} + \cdots + 10^{0}

=\frac{10^{999} - 1}{9}

i noticed that
1000 = 10^{3} \equiv -1 \left(\bmod 1001\right)

10^{6} \equiv 1 \left(\bmod 1001\right)

10^{996} \equiv 1 \left(\bmod 1001\right)

10^{996}.10^{4} \equiv 10^{4} \equiv 991 \left(\bmod 1001\right)

10^{1000} - 1 \equiv 990 \left(\bmod 1001\right)

\frac{10^{999} - 1}{9} \equiv 110 \left(\bmod 1001\right)

is there any problem in my method? is there any other easier way of doing it?
 
Last edited:
Mathematics news on Phys.org
There is an elegant solution that looks like this:

100100
010010
001001

each of those is obviously divisble by 1001, and their sum is

111111

there are 6 1's, so we can delete all but the first 1000 mod 6 =4 1s and we only need to work out the remainder of 1111 on division by 1001, and that is obviously 110.
 
thanks a lot matt grime. your solution is really neat.
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Back
Top