Let S be the set of all passwords which are six to eight characters long, where each character is either an alphabet from {A, B, C, D, E} or a number from {1, 2, 3, 4, 5} with the repetition of characters allowed. If the number of passwords in S whose at least one character is a number from {1, 2, 3, 4, 5} is , then is equal to ______.
JEE Main 2022MathematicsInteger+4 / -1
JEE Main 2022 Maths Q21: Fundamental principle of counting
From the JEE Main 2022 · 28 Jul · Shift 1 paper. Try it, check your answer, then read the worked solution below.
Answer and worked solution
Try it yourself first, then check your working against this.
Official answer7073
Worked solution
Complement. Passwords of length n with at least one digit: .
Sum over n = 6, 7, 8, divided by : .
Answer: 7073
Concepts used: complementary counting
Practise this topic
Every past question tagged to the same part of the syllabus, with solutions.
Similar questions from other papers
Past questions on the same topic (Fundamental principle of counting), each with a worked solution.
- Let S={A=[a b; c d]:a,b,c,d∈{0,1,2,3,4} and A²-4A+3I=0} be a set of 2×2 matrices. Then the number of matrices in S, for which the sum of the…JEE Main 2026 (4 Apr Shift 1) · Maths Q5
- Let A={1,2,3,4,5,6}. The number of one-one functions f:A→ A such that f(1)≥3, f(3)≤4 and f(2)+f(3)=5, is ___.JEE Main 2026 (5 Apr Shift 1) · Maths Q21
- Consider the matrix P = (2 0 0; 0 2 0; 0 0 3). Let the transpose of a matrix X be denoted by Xᵀ. Then the number of 3×3 invertible matrices Q with…JEE Advanced 2025 (Paper 1) · Maths Q4
- The number of different 5 digit numbers greater than 50000 that can be formed using the digits 0, 1, 2, 3, 4, 5, 6, 7, such that the sum of their…JEE Main 2025 (28 Jan Shift 1) · Maths Q7
- The largest n∈N such that 3ⁿ divides 50! is:JEE Main 2025 (2 Apr Shift 1) · Maths Q6
- If the number of seven-digit numbers, such that the sum of their digits is even, is m· n·10ⁿ; m,n∈{1,2,3,…,9}, then m+n is equal to ___JEE Main 2025 (3 Apr Shift 1) · Maths Q21