All About 2018 -- C

How many of the first 2018 numbers in the sequence 101, 1001, 10001, 100001... are divisible by 101.


Try also

508 506 507 505

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.

2 solutions

Let the n n th term of the sequence ( 101 , 1001 , 10001 , 100001 ) (101,1001,10001,100001\cdots) be a n a_n , then a n a_n is given by 1 0 n + 1 + 1 10^{n+1}+1 for n [ 1 , 2018 ] n\in[1,2018] .

So, we want n n such that: 1 0 n + 1 + 1 0 m o d ( 101 ) 10^{n+1}+1\equiv0 \mod (101)

1 0 n + 1 1 m o d ( 101 ) \Rightarrow 10^{n+1}\equiv-1 \mod (101)

\Rightarrow 10 0 n + 1 2 1 m o d ( 101 ) 100^{\frac{n+1}{2}}\equiv-1 \mod (101)

\Rightarrow ( 1 ) n + 1 2 1 m o d ( 101 ) . (-1)^{\frac{n+1}{2}}\equiv-1 \mod (101).

This happens at ( n + 1 ) 2 1 m o d ( 2 ) . \frac{(n+1)}{2}\equiv1 \mod (2). which is equivalent to n 1 m o d ( 4 ) n\equiv1 \mod (4) So the numbers are a 1 , a 5 , a 9 a 2017 a_1,a_5,a_9\cdots a_{2017} .

Now, let these numbers form another sequence b n b_n i.e. b 1 = a 1 , b 2 = a 5 , b 505 = a 2017 b_1=a_1,b_2=a_5\cdots,b_{505}=a_{2017}

The number of terms in this sequence is 505 505 . This means that from the first 2018 2018 number of the given sequence, 505 \boxed{505} numbers are divisible by 101 101

We note that the n n th member of the sequence is given by a n = 1 0 n + 1 + 1 a_n = 10^{n+1}+1 for n N n \in \mathbb N . We need to find the number of m m such that 1 0 m + 1 0 (mod 101) 10^m + 1 \equiv 0 \text{ (mod 101)} for 2 m 2019 2 \le m \le 2019 .

1 0 m + 1 0 (mod 101) for 2 m 2019 1 0 m 1 100 (mod 101) 1 0 m 1 0 2 0 (mod 101) 100 ( 1 0 m 2 1 ) 0 (mod 101) \begin{aligned} 10^m + 1 & \equiv 0 \text{ (mod 101)} & \small \color{#3D99F6} \text{for }2 \le m \le 2019 \\ 10^m & \equiv - 1 \equiv 100 \text{ (mod 101)} \\ 10^{m}-10^2 & \equiv 0 \text{ (mod 101)} \\ 100(10^{m-2}-1) & \equiv 0 \text{ (mod 101)} \end{aligned}

Now we note that 1 0 m 2 1 = 0 , 9 , 99 , 999 , . . . 999...999 # of 9 = 2017 10^{m-2}-1 = 0, 9, 99, 999, ... \underbrace{999...999}_{\text{\# of 9 = 2017}} , where 0 , 9999 #of 9=4 , 99999999 #of 9=8 , . . . 999...999 #of 9=2016 0, \underbrace{9999}_{\text{\#of 9=4}}, \underbrace{99999999}_{\text{\#of 9=8}}, ... \underbrace{999...999}_{\text{\#of 9=2016}} are divisible by 101. Therefore there are 2016 4 + 1 = 505 \dfrac {2016}4 + 1=\boxed{505} number of m m satisfy the condition.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...