How many integers in the set {100, 101, 102,..., 999} have at least one digit repeated?
Solution :
The correct answer is 252.
To find the number of integers in the set {100, 101, 102, ..., 999} that have at least one digit repeated, we can use the principle of complementary counting. That is, we calculate the total number of integers in the set and subtract the number of integers that have no digits repeated (i.e., all digits are distinct).
Step 1: Find the total number of integers in the set
The set consists of all 3-digit integers from 100 to 999.
The total number of integers in this range is:
Step 2: Find the number of 3-digit integers with all unique (non-repeated) digits
Let a 3-digit number be represented as d1d2d3, where each digit is chosen from the set {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}.
We choose the digits one by one such that they are all distinct:
1. For the hundreds digit (d1): It cannot be 0 (since it must be a 3-digit number). Thus, there are 9 possible choices (1 through 9).
2. For the tens digit (d2): It cannot be the same as the hundreds digit, but it can be 0. Since one digit has already been chosen, there are 9 remaining choices from the 10 possible digits.
3. For the units digit (d3): It cannot be the same as the hundreds digit or the tens digit. Since two distinct digits have already been chosen, there are 8 remaining choices.
Using the multiplication principle, the number of 3-digit integers with all distinct digits is:
Step 3: Subtract to find the integers with at least one repeated digit
Subtract the number of integers with distinct digits from the total number of 3-digit integers:
Therefore, there are exactly 252 integers in the set {100, 101, 102, ..., 999} that have at least one digit repeated.
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.
Prepare effectively with the CTET Paper 2 Set E (20th August 2023) Question Paper with Solutions. This previous year paper includes fully solved questions with detailed explanations to help you understand the latest CTET exam pattern, improve conceptual clarity, and strengthen your preparation for Child Development & Pedagogy, Language I, Language II, Mathematics & Science, or Social Studies/Social Science. Practicing this authentic CTET previous year paper will help you analyze question trends, improve time management, and boost your confidence for upcoming CTET examinations. The official August 2023 Paper 2 Set E question paper is available through the CTET archive.
Prepare for the CTET Paper 2 Set M (31st January 2021) Question Paper with Solutions to strengthen your exam preparation with authentic previous year questions. This solved paper provides detailed explanations for every question, helping you understand the latest CTET syllabus, question pattern, and marking scheme. It covers Child Development & Pedagogy, Language I, Language II, Mathematics & Science, and Social Studies/Social Science, making it an excellent practice resource for aspiring upper primary teachers. Solving this previous year paper will improve your conceptual understanding, accuracy, and time management for the upcoming CTET examination.
Copyright © 2026 Combe Labs Private Limited. All Rights Reserved.