PASSWORD!!

Each user on a computer system has a password, which is seven to nine characters long, where each character is an uppercase letter or a digit. Each password must contain at least one digit. How many possible passwords are there?


The answer is 98813068186240.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

For counting valid passwords of a given length, we count all possible passwords of the required length and subtract the invalid ones. (Invalid here being all characters).

Here, number of valid passwords for length n n are 36 n 26 n {36}^{n}-{26}^{n} .

Therefore the answer needed is ( 36 7 26 7 ) + ( 36 8 26 8 ) + ( 36 9 26 9 ) ({36}^7-{26}^7)+({36}^8-{26}^8)+({36}^9-{26}^9) .

Use a calculator to get the answer: 98813068186240 98813068186240 .

Dynamite! I love it!!!

Milt Trosper - 2 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...