TCS
Company
While on your way to the movie 'megamind', you come across an apartment numbered 1911. You realize that the sum of any three consecutive digits of this number is 11. You wonder whether it is possible to construct larger numbers with this property. Your friend tells you it is possible and says that he has a 100 digit number N with this property and which starts with a 9. Find the last digit of N.
The last digit cannot be determined as N is not unique.
0.0
1
9
8
Read Solution (Total 7)
-
- 9 is the answer.
We have the number as 911911911911911911....upto 10 digits. The 3 digits 911 is getting repeated so the last digit of the given number will be 100 mod 3 = 1st digit of 911. therefore the last digit of the number will be 9. - 11 years agoHelpfull: Yes(48) No(5)
- 911911911
3rd no 1
6th no 1
9th no 1
.....
99th no is 1
and 100 th ie last digit will be 9..ans
- 11 years agoHelpfull: Yes(5) No(0)
- it may be 1 or 0 as the sum of the digit in the 100th position + 1st post+2nd shd be 11 (191 or 290) and the sum of 1st+2nd +3rd no.(911 or902) shd be 11
100th digit will be 0 if the digit in 2nd pos is 2
and it will be 1 if the digit in the 2nd pos is 1 - 11 years agoHelpfull: Yes(4) No(11)
- since on d third digit we r getting d last 1 of 911...hence at 99th position we will get the last 911...now on 100 th position we can place 1 or 9..but to make sum 11..we place 1 coz at frst position its given in ques its 9..so 191 adds up to 11 again
ans is 1 - 11 years agoHelpfull: Yes(3) No(4)
- 9 is the last digit,
911
911911
911911
911...upto 99 terms then one 9 .
So, last digit is 9 Ans. - 11 years agoHelpfull: Yes(1) No(1)
- 911911911
comparing the 3n digits
where n start from 0,1,2,3.............
all the terms are 3
if n=33, 99th term is 1
the next next term must be 9
9 is the answer
- 11 years agoHelpfull: Yes(0) No(0)
- 9999999.......9
any consec of 3 digits will be same
like
99th+100th+1th so on
so ans is 9 - 11 years agoHelpfull: Yes(0) No(0)
TCS Other Question