Ask your own question, for FREE!
Mathematics 7 Online
OpenStudy (anonymous):

Passwords for a certain computer system are strings of uppercase letters. A valid password must contain an even number of X’s. Determine a recurrence relation for the number of valid passwords of length n. Note: 0 is an even number, so ABBC is a valid password. This counting problem is pretty tricky. Here’s a good way to think about it: to make a good password of length n you can either (a) add any non-X to the end of a good password of length n−1, or (b) add an X to the end of a bad password of length n − 1.

OpenStudy (anonymous):

So for 0, we have 25 x 25 x 25 x 25 ways right?

OpenStudy (anonymous):

Oh wait...for a password the length of 1, we have 25 ways. Right?

OpenStudy (anonymous):

For a password the length of 2, we have 25 x 25 or 125 ways...

OpenStudy (anonymous):

Okay scratch what I said before. Does this look right: Password with one slot = 25 Password with two slots = 26 * 25 Password with three slots = 26 * 26 * 25 Password with four slots = 26 * 26 * 26 And so on...

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!