Hello so I'm doing a basics of counting. I need help determining wether my logic is flawed:
- There are 94 characters in a keyboard. If a password is between 10 to 13 characters long. How many different passwords can you have?
So if a password was 10 characters long then I would have 94^10 combinations. So going off that I would just add:
My Answer: 94^10 + 94^11 + 94^12 + 94^13
- A password CAN'T consist of just letters or numbers. EX: Turtles or 12345. It has to be 10 characters long, how many different passwords are there?
I did a complementation method: |A| = |U| - |A'|
So I came up with:
So 52^10 = passwords with just letters
So 10^10 = passwords with just numbers
My answer: (94^10) - (52^10) - (10^10)
Would you guy's say my answers are correct? I can't tell if my logic is flawed in any way.