Q. Starting from 123....a number of 100 digits is written. What is the remainder when that number is divided by 8?
Explanation:
From 1 to 9 there are 9 digits.
Starting 10, there are 2 digits for every number.
Hence from 10 till 54, there are 45 numbers or 90 digits.
Hence the number of 99 digits is 123....54.
Hence 100th digit will be 55 (the 1st 5 of 55).
Hence the last digits are 545. When this number is divided by 8, the remainder is 1.