How many numbers can be formed using a certain number of digits