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

  • Thread starter murshid_islam
  • Start date
In summary, the problem is to find the remainder when a dividend with 1000 1's is divided by 1001. The conversation discusses different methods of solving this, with one being a more elegant solution using patterns and the other using modular arithmetic. Both methods result in the same answer, with the second method being quicker and more efficient.
  • #1
murshid_islam
457
19
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):

[tex]11...1[/tex]

[tex]=10^{999} + 10^{998} + \cdots + 10^{0}[/tex]

[tex]=\frac{10^{999} - 1}{9}[/tex]

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

[tex]10^{6} \equiv 1 \left(\bmod 1001\right)[/tex]

[tex]10^{996} \equiv 1 \left(\bmod 1001\right)[/tex]

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

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

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

is there any problem in my method? is there any other easier way of doing it?
 
Last edited:
Mathematics news on Phys.org
  • #2
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.
 
  • #3
thanks a lot matt grime. your solution is really neat.
 

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

1. What is the problem you are addressing with your solution?

The problem I am addressing is [insert problem here].

2. How did you come up with your solution?

I conducted extensive research and experiments in order to come up with my solution.

3. What makes your solution unique or different from others?

My solution incorporates [insert unique aspect here] which sets it apart from other solutions.

4. Have you tested your solution and what were the results?

Yes, I have tested my solution and the results showed [insert results here].

5. What are the potential limitations or drawbacks of your solution?

While my solution is effective in addressing the problem, it may have limitations such as [insert limitations here]. It is important to continue researching and improving upon the solution to potentially overcome these limitations.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
14
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • General Math
Replies
1
Views
2K
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
Replies
2
Views
5K
Back
Top