Home Maths Permutations & Combination JEE (Main) / AIEEE Problems (Previous Years) Number of times is the digit 5 written when …
Maths Permutations & Combination JEE (Main) / AIEEE Problems (Previous Years) Subjective Type
Published on: August 14, 2026

Number of times is the digit 5 written when listing all numbers from 1 to 10 5 ?

Share this question

For Instagram sharing, use “Apps” on mobile or copy the link.

Text Solution

Verified by Experts
The correct answer is:
CHECK THE SOLUTION.

50000

Sol. We have to count the occurrences of digit 5 consider integers t such that 0 ≤ t ≤ 10 5

The largest number t having 5 in the units place is 99995.So there are

1 + 9999 = 10 4 numbers t having 5 in the units place

The are 5, 15, 25,............99995

We can describe these numbers as t = x 5

Where x is any one of 0, 1, 2,......9999. Similarly numbers t = x5y.

ie.e., numbers having 5 in the ten's place are in all (1 + 999) × 10 = 10 4 as x can be any one of 0, 1, 2,..999 and y can be anyone of 0, 1,2,.......9

In the same way, there are 10 4 numbers in each of the following cases: numbers with 5 in the hundreds place or thousands place or ten thousands place.

Hence, the total number of times 5 is written 10 4 × 5

──────────────────────────────────────────────────────────────────────────────────────────

Prepare Smarter with CGP Edu

Get practice questions, solutions, and test series in one place.

Write a Review

Share your experience with this question and solution.

Commentary

Send your comment, doubt, correction, or feedback to admin.

Student Reviews

What students say about this solution

No reviews yet. Be the first to write a review.

Similar Questions

Explore conceptually related problems

CG
CGP Question Assistant Question Bank + AI Help
Hi! Type your question or upload one screenshot. First I will search related questions from CGP Edu Question Bank. If none match, type YES and I will solve it with AI.
Upload only one screenshot at a time. Flow: Question Bank first → If not matched, type YES for AI solution.