document.write( "Question 305601: to open a combination lock, you must dial a 3-digit combination using the digits 0-39. How many combinations are possible ...
\n" ); document.write( "a) if repeating a digit is allowed
\n" ); document.write( "b) if repeating a digit is not allowed
\n" ); document.write( "

Algebra.Com's Answer #218979 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
0-39 is 40 numbers
\n" ); document.write( "If repeats are allowed, it's 40^3 = 64000
\n" ); document.write( "If not, it's 40*39*38 = 59280
\n" ); document.write( "If repeats are allowed, but not consecutive repeats, it's 40*39*39 = 60840
\n" ); document.write( "
\n" ); document.write( "
\n" );