The citizens of planet nigiet are 8 fingered and have thus developed their decimal system in base 8. A certain street in nigiet contains 1000 (in base 8) buildings numbered 1 to 1000. How many 3s are used in numbering these buildings?
Number 3 in 1-100 comes 20 times.
101-200-> 20 times
201-300-> 20 times
301-400->120 times
401-500-> 20 times
501-600-> 20 times
601-700-> 20 times
701-800-> 20 times
801-900-> 20 times
901-1000-> 20 times
Total times: 300 times (any no. from 1 to 9 except 0 will occur 300 times)
8 based planet.. then
3*8^2 + 0*8^1 + 0*8^0 = 192
Number 3 in 1-100 comes 20 times.
101-200-> 20 times
201-300-> 20 times
301-400->120 times
401-500-> 20 times
501-600-> 20 times
601-700-> 20 times
701-800-> 20 times
801-900-> 20 times
901-1000-> 20 times
Total times: 300 times (any no. from 1 to 9 except 0 will occur 300 times)
8 based planet.. then
3*8^2 + 0*8^1 + 0*8^0 = 192
Correct answer- 192
answer is one