Modular Math Problem: What Is the Largest n?

  • Context: Undergrad 
  • Thread starter Thread starter Gokul43201
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around determining the largest integer \( n \) such that \( 10^n \) divides \( (101^{100} - 1) \). Participants explore various mathematical approaches, including modular arithmetic and the binomial theorem, to analyze the divisibility of the expression by powers of ten.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant suggests calculating \( 101^{100} \mod 1000 \) to find that \( 10^3 \) divides \( 101^{100} - 1 \).
  • Another participant proposes examining \( 101^{100} \) modulo \( 2^n \) and \( 5^n \) to establish conditions for divisibility by \( 10^n \).
  • A later reply corrects an earlier claim regarding \( 101^{100} \equiv 1 \mod 16 \), asserting that \( 16 \) does divide \( 101^{100} - 1 \).
  • One participant applies the binomial theorem to argue that the smallest term in powers of \( 100 \) indicates that \( 10^4 \) divides the expression.
  • Another participant questions the certainty of \( 10^4 \) being the largest divisor, expressing concern about the possibility of larger divisors.
  • Further exploration involves evaluating \( 101^{100} - 1 \mod 10^5 \) and finding that it does not equal zero, suggesting that \( 10^5 \) does not divide the expression.

Areas of Agreement / Disagreement

Participants express differing views on the largest \( n \) for which \( 10^n \) divides \( (101^{100} - 1) \). While some assert \( n = 4 \) or \( n = 3 \), others raise questions about the existence of larger divisors, indicating that the discussion remains unresolved.

Contextual Notes

Participants rely on modular arithmetic and the binomial theorem, but there are unresolved assumptions regarding the calculations and conditions for divisibility. The exploration of \( 10^5 \) as a potential divisor introduces additional complexity.

Who May Find This Useful

This discussion may be of interest to students and enthusiasts of modular arithmetic, number theory, and those preparing for competitive examinations involving mathematical problem-solving.

Gokul43201
Staff Emeritus
Science Advisor
Gold Member
Messages
7,213
Reaction score
25
What is the largest n for which 10^n divides [(101^100) - 1] ? Clearly n=2, is one solution. What then ?
 
Physics news on Phys.org
Well, you could caculate [tex]101^{100} (mod 1000)[/tex] and see what it is.
[tex]100=64+32+4[/tex]
[tex]101^4\equiv (101^2)^2 \equiv (201)^2 \equiv 401 (mod 1000)[/tex]
[tex]101^{32}\equiv (101^4)^8 \equiv (401)^8 \equiv (801)^4 \equiv 601^2 \equiv 201 (mod 1000)[/tex]
[tex]101^{64}\equiv (101^32)^2 \equiv (201)^2\equiv 401 mod (1000)[/tex]

so
[tex]101^{100}\equiv101^{64+32+4)\eqiuv 101^{64} \times 101^{32} \times 10^4 \equiv[/tex]
[tex]401\times401\times201\equiv 801 \times 201 \equiv 1[/tex]
so [tex]101^{100}-1[/tex] is divisible by [tex]10^3[/tex]

Alternatively consider [tex]101[/tex] mod [tex]2^n[/tex] and mod [tex]5^n[/tex]:
In base 2, 101 is written:
[tex]110011[/tex]
and in base 5
[tex]41[/tex]
Now, we know that for [tex]101^{100}-1[/tex] to be divisible by [tex]10^n[/tex] that [tex]101^{100} \equiv 1 (mod 2^n)[/tex] and [tex]101^{100} \equiv 1 (mod 5^n)[/tex]
Now, [tex]\phi(5^3)=5^2\times(5-1)=100[/tex] so [tex]x^{100} \equiv 1(mod 125)[/tex]
and [tex]\phi(2^3)=2^2\times(201)=4[/tex] so [tex]x^{100} \equiv (x^{25})^4) \equiv 1 (mod 8)[/tex]
but
[tex]\phi(5^4)=5^3\times(5-1)=600[/tex] does not divide [tex]100[/tex] so you need to check it.
similarly
[tex]\phi(2^4)=2^3\times(2-1)=8[/tex] does not divide [tex]100[/tex], and it's probably a faster one to check:
[tex]100 \equiv 4 (mod 8)[/tex]
and [tex]101 \equiv 5 (mod 16)[/tex]
corrected said:
so [tex]101^{100} \equiv 5^{4}\equiv 625 \equiv 9 \nequiv 1 (mod 16)[/tex]
so [tex]16[/tex] does not divide [tex]100^{101}-1[/tex] therefore [tex]10000[/tex] also does not.
so [tex]101^{100} \equiv 5^{4}\equiv 625 \equiv 1 (mod 16)[/tex]
(Corrected.I probably shouldn't be doing this in my head.)
 
Last edited:
Wait a second : 101 == 5 (mod 16)
=> 101^2 ==25==9(mod 16) or 101^4 ==81==1(mod 16).
So 16 divides 101^100 - 1
 
This is a question of the binominal formula for (100+1)^100 the leading term is going to be 100^100 and the last three terms are (100^2)x100x99/2 + 100x100 +1. So subtracting off 1 we have 100x100 as the smallest term in powers of 100, and the answer is 10,000 will divide the expression.
 
Last edited:
This proves that 10,000 divides the number. How can I be sure there isn't another larger divisor ? It seems unlikely but not impossible...yet.
 
How can I be sure there isn't another larger divisor ?

Evaluate 101^100 - 1 modulo 10^5. By the binomial theorem, we have that

[tex](100 + 1)^{100} = \sum_{k = 0}^{100} \binom{100}{k} 100^k = \sum_{k = 0}^{100} \binom{100}{k} 10^{2k} .[/tex]

Now, when the exponent of 10 is bigger than 5 (i.e k > 2), the terms in the sum are congruent to 0 mod 10^5. So

[tex]\sum_{k = 0}^{100} \binom{100}{k} 10^{2k} \equiv \binom{100}{0} 10^{0} + \binom{100}{1} 10^{2} + \binom{100}{2} 10^{4} \pmod{10^5}.[/tex]

That's pretty easy to evaluate (you can do it in your head), but I'll spare you the calculations. It's 49510001. So 101^100 - 1 = 49510001 - 1 != 0 (mod 10^5).
 
Last edited:
gokul- this almost looks like the exact same material that i am studying... hmmm, weird no?
 
Actually, I found this problem in a practice test paper for a B-School Entrance Exam.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 25 ·
Replies
25
Views
5K
  • · Replies 11 ·
Replies
11
Views
3K