0

An example question I found in a text book is :

The 300 digit number with all digits equal to 1 is :

A) Divisible by neither 37 nor 101 B) divisible by 37 but not by 101 C) divisible by 101 but not by 37 D) Divisible by both 37 and 101

1 Answers1

0

$$\underbrace{11\cdots11}_{n \text{ digits}}=\frac{10^n-1}9$$ where $n$ is a positive integer

Now observe that $10^2\equiv-1\pmod {101}\implies 10^4\equiv1$

$\displaystyle\implies 10^{300}=(10^4)^{75}\equiv1^{75}\pmod{101}\equiv1$

$\displaystyle\implies 10^{300}-1\equiv0\pmod{1000} \implies \frac{10^{300}-1}9\equiv0\pmod{101}$ as $(101,9)=1$

Now, $10^3\equiv1\pmod {37}$ and $(37,9)=1$