How many 6-digit numbers can be formed using the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 if the first digit cannot be 0? Repeated digits are allowed.
How many 4 digit numbers can be formed using 1,2,3,4,5,6, and 7 with none of the digits being repeated?