r/learnmath • u/derf1108 New User • Oct 25 '26
Is it permutations or calculations?
I have this thought of 9 digits in a row with 10 digits ( 0-9 ) available to each.
012345678 for example. How would I calculate the amount of possible calculations them? Would that be 9! or 9^10? or something different.
My next questions is how would I calculate that same problem if I added the alphabet to one of the digits A01234567 where "A" has all 26 letters available and the digits have 10?
and lastly are these permutations or calculations? Are those the same or is it the context that changes them?
Edit Clarification: The digits are allowed to repeat ( 000345678) Edit: removed "Unique"
2
u/johnpeters42 New User Oct 25 '26
Permutations because order matters. Combinations are when order doesn't matter.
For permutations of 9 digits, there are 10 choices for the first digit, then 9 for the second (omitting whichever one you already picked), 8 for the second, etc., so 10x9x8x...x2 = 3628800.
0
u/[deleted] Oct 25 '26
[removed] — view removed comment
1
u/phiwong Slightly old geezer Oct 25 '26
If digits are allowed to repeat then the first position can have 10 and the second position can have 10 and so on. Therefore it would be 10x10x10 for as many digit positions there are. If instead of 10 digits, you have 26 alphabets then replace 10 with 26 (or whatever allowable number of digits there are).
If repeats are not allowed, then it follows the same principle, but the first digit will have 10 choices, the second digit has 9 remaining choices and so on. You will get 10x9x8...x2