Nope, look at 1000, this is a 4 digit number and we can't list it with 1,2,3, and 4
Chat with our AI personalities
There are five such numbers: 11, 12, 15, 24 and 36.
There are ten thousand possible pin numbers with four digits. To generate your list, start at 0000 and start counting, to 9999.
-1
To make this simpler, I'll assume that numbers with a leading zero like 0179 are "four digit numbers" for the purposes of this question. The number of such numbers that can be formed by those numbers without repeating one of the digits is 4x3x2x1 = 24. We could list them all and add them up, but let's instead just realize that we can choose any digit and put it in any position, and the other digits can then be arranged in 3x2x1 = 6 ways. So the sum for any position is (0+1+7+9)*6 = 102, and the sum of the set of "four digit" numbers is 102x1000+102x100+102x10+102 = 113322. You can figure out for yourself what the sum would be if you exclude the numbers that are really three digit numbers (hint: use the technique above to find the sum of the three digit numbers that can be formed using the digits 1, 7, and 9; then subtract that from the other total).
i would like a list all possible 4 digit combination using 0-9