Open In App

A book has 400 pages numbered 1,2,3 and so on. How many times does the digit 3 appear in the page numbers?

A book has 400 pages numbered 1,2,3 and so on. How many times does the digit 3 appear in the page numbers?

Solution:

We can solve this by analyzing the frequency of the digit 3 across different page ranges.

Analyzing Page Ranges:

The explanation considers the page numbers in ranges of 10 pages:

This pattern continues for subsequent ranges.



Calculating Occurrences of 3 in First 100 Pages:

The explanation sums up the occurrences of the digit 3 in the first 100 pages:

1 + 1 + 2 + 9 + 1 + 1 + 1 + 1 + 1 + 1 = 20 occurrences of the digit 3 in the first 100 pages.



Extending to 400 pages:

Since the pattern repeats every 100 pages, we can extrapolate the occurrences of the digit 3 for the entire 400-page book:

4 × 20 = 80 occurrences of the digit 3

Accounting for Additional Occurrences

Additionally, the pages from 300 to 399 each contain the digit 3 in the hundreds place. This contributes an additional 100 occurrences of the digit 3.

Total occurrences

Adding the occurrences from the first 100 pages and the additional occurrences from the pages 300 to 399, we get a total of:

80+ 100 = 180 occurrences of the digit 3 in the entire 400-page book.

Article Tags :