The correct option is C 12(7×38−3)
The number formed is less than 3×108=300,000,000, i.e., the number can have at most 9 digits.
Now there will 3 exactly 3 number than can be formed using the digits 1, 2, or 3 and has only one digit.
To form the 2-digit numbers using the digits, 1, 2, or 3, there will be 3 choices for each of place(tens and units) of the number. Hence there will be 32 such numbers.
Similarly there will be 33,34,35,36,37 and 38 numbers that will have 3,4,5,6,7 and 8 digits and formed using 1, 2 or 3.
For 9 digit numbers, we have only 2 possibilities for the left most digit as the number formed are less than 3×108. The remaining 8 digits can be filled in 38 ways.
Hence the total numbers less than 3×108 and formed using the digits 1, 2 and 3 are
3+32+33+34+35+36+37+38+2×38
=3(38−1)3−1+2×38
=39−3+4×382
=7×38−32