number of passwords if: 2-6 chars, 1st char letter & last is

ezwind72

New member
Joined
Oct 29, 2008
Messages
11
Suppose that a password must satisfy the following conditions:

1) The password must be between 2 and 6 characters
2) The first character must be a letter and the last character must be a digit (0 - 9).
3) All characters except for the first or last may be either a letter or a digit.
4) Repetition is allowed.
5) They are not case sensitive.

How many passwords are possible?

(26)(10)+(26)(10)(36)+(26)(10)(36)(36)+(26)(10)(36)(36)(36)+(26)(10)(36)(36)(36)(36)
=260+9360+336960+12130560+436700160
=449177300
 
That's what I get. Nice going.

26*10(1+36+36[sup:3ae82wqd]2[/sup:3ae82wqd]+36[sup:3ae82wqd]3[/sup:3ae82wqd]+36[sup:3ae82wqd]4[/sup:3ae82wqd])=?
 
ezwind72 said:
... between 2 and 6 characters [in length] ...


That's either three, four, or five characters in length.

It looks to me like the previous results are too large.

:twisted:

 
Top