in how many q ways can a 4 - letter password be chosen , using the letters a , b , c , d , e , and / or f , such that at least one letter is repeated within the password ?
Choose the correct choice from the following choices.
A) 720
B) 864
C) 900
D) 936
E) 1296

Rationale: total number of four letter passwords = 6 * 6 * 6 * 6 = 1296 - - - - - - ( 1 ) total number of passwords in which no letter repeats = 6 c 4 * 4 ! = 15 * 24 = 360 - - - - - - ( 2 ) therefore required value q = ( 1 ) - ( 2 ) = 1296 - 360 = 936 . d
Answer: D