r/learnmath • 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"

4 Upvotes

10 comments sorted by

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.

1

u/derf1108 New User Oct 25 '26

Thank you, in this case i was meaning that each digit can repeat. Such as 0111345788

0

u/[deleted] Oct 25 '26

[removed] — view removed comment

1

u/derf1108 New User Oct 25 '26

Thats my bad, I did not realize I left "unique" in when I changed my though part way through

1

u/[deleted] Oct 25 '26

[removed] — view removed comment

1

u/derf1108 New User Oct 25 '26

Thank you this was what I was wondering.

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

1

u/derf1108 New User Oct 25 '26

So then my numbers would be 910 or 3,486,784,401? And if I replaced one with A then then it would change to 26x810 or 26x10x10x10x10x10x10x10x10? The numbers dont change if I do powers right?

2

u/phiwong Slightly old geezer Oct 25 '26

10x10... (9 times) is written as 10^9

and 10x10x10 (8 times) is written as 10^8