There are 3168 such numbers.
2673 have one 7
459 have two 7s
35 have three
and 1 has all four 7s.
Numbers with leading 0s are excluded.
-3
Without repeats there are 4 × 3 = 12 possible 2 digit numbers. With repeats there are 4 × 4 = 16 possible 2 digit numbers.
9 x 9 x 8 x 7 = 4,536
7777
30
-3
-3
There are 840 4-digit combinations without repeating any digit in the combinations.
Without repeats there are 4 × 3 = 12 possible 2 digit numbers. With repeats there are 4 × 4 = 16 possible 2 digit numbers.
9 x 9 x 8 x 7 = 4,536
9 x 9 x 8 x 7 = 4,536
9 x 9 x 8 x 7 = 4,536
You can make 4*3*2/2 = 12 numbers.
7777
25
24
30