The following combinations of capital letters "C", lower case letters "l", and digits "d" are possible:
C l d Number possible 3 3 4 10C3 * 26^3 * 7C3 * 26^3 * 4C4 * 10^4 3 4 3 10C3 * 26^3 * 7C4 * 26^4 * 3C3 * 10^3 3 5 2 10C3 * 26^3 * 7C5 * 26^5 * 2C2 * 10^2 4 3 3 10C4 * 26^4 * 6C3 * 26^3 * 3C3 * 10^3 4 4 2 10C4 * 26^4 * 6C4 * 26^4 * 2C2 * 10^2 5 3 2 10C5 * 26^5 * 5C3 * 26^3 * 2C2 * 10^2 Add them up to get the total number of passwords. Plugging the values of C, l, and d into an Excel spreadsheet and using the COMBIN(n,k) function for the binomial coefficients gives the total number of passwords as 251,471,033,958,144,000. Dave On Feb 9, 7:46 am, snehal jain <[email protected]> wrote: > how many passwords can be made if > 1. there should be atleast 3 capital letters > 2. atleast 3 small letters > 3. atleast 2 numbers 0-9 > 4 the password should has length=10 -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
