The correct option is B 7
With repetition the total n digits number that can be formed using 2,5 and 7.
So total distinct numbers possible =3n
Then the smallest value of n for which 900 such distinct numbers can be formed will be
3n>900⇒3n−2>100
So the minimum n will be,
n−2=5⇒n=7