Given, that we can use the digits 2, 5, and 7 with repetition, each place in an n-digit number can be chosen in 3 different ways.
So, the total number of n-digit numbers = \(3\times3\times3\times.....n\;=\;3^n\)
According to question, \(3^n\geq900\)
Let's simplify
\(3^n\geq 3^2\times100\)
\(3^{n-2}\geq100\)
Let n=6
\(3^{6-2}\geq100\)
\(3^{4}\geq100\)
\(81\geq100\), which does not satisfy the condition
let n=7
\(3^{7-2}\geq100\)
\(3^{5}\geq100\)
\(243\geq100\), which is satisfy the condition and also the smallest number from 6,7,8 and 9
So, the correct option is (B): 7.
Let $ S $ be the set of all seven-digit numbers that can be formed using the digits 0, 1 and 2. For example, 2210222 is in $ S $, but 0210222 is NOT in $ S $.
Then the number of elements $ x $ in $ S $ such that at least one of the digits 0 and 1 appears exactly twice in $ x $, is equal to __________.



Permutation is the method or the act of arranging members of a set into an order or a sequence.
Combination is the method of forming subsets by selecting data from a larger set in a way that the selection order does not matter.