A password with 8 characters, consisting of Upper case/Lower Case &0-9

  • Thread starter Thread starter laura_a
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on calculating the total number of valid 8-character passwords consisting of uppercase letters (U), lowercase letters (L), and digits (D), ensuring at least one character from each category is included. The initial approach involves combinatorial calculations, such as 10^7 x 52 x 8C1 for passwords with 7 digits and 1 uppercase/lowercase letter. The participants debate the interpretation of "at least one" character from each category, leading to confusion regarding the minimum requirements versus the total combinations possible.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with password complexity requirements
  • Knowledge of permutations and combinations
  • Basic programming skills for implementing calculations
NEXT STEPS
  • Research combinatorial counting methods in depth
  • Learn about password generation algorithms
  • Explore programming libraries for combinatorial calculations, such as Python's itertools
  • Study security implications of password complexity and generation
USEFUL FOR

Mathematics students, computer science students, security professionals, and anyone interested in password generation and complexity analysis.

laura_a
Messages
64
Reaction score
0

Homework Statement




I am a helping out a friend who is studying Maths at uni, not much help really because I did my degree 10 years ago. I am stuck on a question I was hoping for someone help with the working out:

A password consist of 8 characters from Uppercase letters, U, lowercase letters L and Digits 0-9, D.

How many passwords consist of at least one character from U,L & D

I interpreted this question that it would have to inlcude ULD in the password.

Anyway I know there are more cases but I think this is wrong anyway - any suggestions will be appreciated.

Homework Equations





The Attempt at a Solution



7 D + 1 U/L = 10^7 x 52 x 8c1
7 U + 1 D/L = 26^7 x 36 x 8c1
7 L + + 1 D/U = 26^7 x 36 x 8c2
6 D + 2U = 10^6 X 26^2 x 8c2
6 D + 2L = 10^6 X 26^2 x 8c2
6 U + 2D = 26^6 x 10^2 x 8c2 x 2(for L)
6 U + 2L = 26^6 x 26^2 x 8c2

Then 1 - (the answer above) is 1.9983 x 10^14
 
Physics news on Phys.org
Hm ... how about, for example, 4D + 2L + 2U? Does that not meet the criteria? In other words, I think you have specified the MINIMUM amount, not the actual amount.

Also, with your interpretation of one each, I don't see how 6D + 2U, for example, would meet the criteria.
 
I though that 6D + 2U would suit because then I am taking the answer away from 1 so I actually want the opposite of 6D+2U ?
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 9 ·
Replies
9
Views
13K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
6
Views
10K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K