The number of times the digit 5, will appear while writing the integers from 1 to 1000 is
Solution :
The correct option is 300.
To find the total number of times the digit 5 appears when writing all the integers from 1 to 1000, we can analyze the positions of the digits (units, tens, and hundreds places) in the three-digit numbers. Let us represent any number from 0 to 999 as a three-digit sequence: abc, where each of a, b, and c can be any digit from 0 to 9.
Note that including 0 does not change the count of the digit 5, and the number 1000 does not contain the digit 5. Thus, counting the digit 5 in the range 000 to 999 is equivalent to counting it from 1 to 1000.
We analyze the occurrence of the digit 5 in each of the three positions:
1. Units position (c = 5): The number has the form ab5. Since a can be any of the 10 digits (0-9) and b can also be any of the 10 digits (0-9), the number of such integers is:
2. Tens position (b = 5): The number has the form a5c. Similarly, a can be any of the 10 digits (0-9) and c can be any of the 10 digits (0-9). The number of such integers is:
3. Hundreds position (a = 5): The number has the form 5bc. Here, b can be any of the 10 digits (0-9) and c can be any of the 10 digits (0-9). The number of such integers is:
By summing the occurrences of the digit 5 across all three independent positions, we get the total number of times the digit 5 appears:
Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.
Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.
Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.
A comprehensive SSC MTS 2026 Mock Test 4 designed to help aspirants strengthen their preparation and improve their performance for the Staff Selection Commission Multi-Tasking Staff examination. This mock test covers all major sections including Numerical and Mathematical Ability, Reasoning Ability and Problem Solving, General Awareness, and English Language and Comprehension. It includes a balanced combination of conceptual, analytical, and exam-oriented multiple-choice questions aligned with the latest SSC MTS syllabus and exam pattern. Ideal for practice, revision, self-evaluation, accuracy improvement, speed enhancement, and effective time management, this mock test helps candidates assess their exam readiness, identify improvement areas, and build confidence for the SSC MTS 2026 examination
A comprehensive SSC MTS 2026 Mock Test 3 designed to help aspirants prepare thoroughly for the Staff Selection Commission Multi-Tasking Staff examination. This mock test covers all important sections including Numerical and Mathematical Ability, Reasoning Ability and Problem Solving, General Awareness, and English Language and Comprehension. It features a carefully curated set of multiple-choice questions that test conceptual understanding, logical reasoning, problem-solving skills, speed, and accuracy in accordance with the latest SSC MTS exam pattern. Ideal for practice, revision, self-assessment, performance evaluation, and time management improvement, this mock test enables candidates to identify strengths and weaknesses while building confidence for the SSC MTS 2026 examination.
Copyright © 2026 Combe Labs Private Limited. All Rights Reserved.