A device can write 100 digits in 1 minute. It starts writing natural numbers. The device is stopped after running it for half an hour. It is found that the last number it was writing is incomplete. The number is :
[amp_mcq option1=β3000β³ option2=β3001β³ option3=β1026β³ option4=β1027β³ correct=βoption4β³]
This question was previously asked in
UPSC CAPF β 2016
β Natural numbers start from 1.
β Digits used for 1-digit numbers (1-9): 9 numbers * 1 digit/number = 9 digits. (Numbers 1 to 9 completed)
β Digits used for 2-digit numbers (10-99): 90 numbers * 2 digits/number = 180 digits. (Numbers 10 to 99 completed)
β Total digits used for 1-digit and 2-digit numbers = 9 + 180 = 189 digits. (Numbers 1 to 99 completed)
β Remaining digits to be written = 3000 β 189 = 2811 digits.
β These remaining digits are used for 3-digit numbers (100-999) and then 4-digit numbers (1000-β¦).
β Digits used for all 3-digit numbers (100-999): 900 numbers * 3 digits/number = 2700 digits. (Numbers 100 to 999 completed)
β Total digits used for 1-digit, 2-digit, and 3-digit numbers = 189 + 2700 = 2889 digits. (Numbers 1 to 999 completed)
β Remaining digits = 3000 β 2889 = 111 digits.
β These 111 digits are used for writing 4-digit numbers (1000, 1001, β¦). Each 4-digit number uses 4 digits.
β The digits come from the sequence 1000, 1001, 1002, β¦
β Number of full 4-digit numbers whose digits are included in the 111 digits = floor(111 / 4) = 27 numbers.
β These 27 numbers are 1000, 1001, β¦, 1000 + (27 β 1) = 1026.
β Digits used for these 27 full 4-digit numbers = 27 * 4 = 108 digits.
β Total digits used so far = 2889 (up to 999) + 108 (for 1000 to 1026) = 2997 digits.
β The numbers written completely are 1, 2, β¦, 999, 1000, β¦, 1026.
β Remaining digits to reach 3000 = 3000 β 2997 = 3 digits.
β These 3 digits are the first three digits of the next number in the sequence, which is 1027.
β The digits of 1027 are 1, 0, 2, 7.
β The device writes the 2998th digit (β1β of 1027), the 2999th digit (β0β of 1027), and the 3000th digit (β2β of 1027).
β The device stops after writing the digit β2β of the number 1027.
β The last number it was writing is 1027, and it is incomplete (only β102β has been written).