document.write( "Question 321191: stan..if you can help me out once more i would appreciate so much :)
\n" ); document.write( "a combination lock has digits from 0 to 39. three numbers are required to open.
\n" ); document.write( "how many combinations are possible if you cannot repeat any digits?
\n" ); document.write( "how many combination are possible if you cannot have the same digit twice in a row?
\n" ); document.write( "this is what i came up with..59,280 for first one and can't figure out second one:(
\n" ); document.write( "

Algebra.Com's Answer #230019 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
a combination lock has digits from 0 to 39. three numbers are required to open.
\n" ); document.write( "how many combinations are possible if you cannot repeat any digits?
\n" ); document.write( "40*39*38 = 59280
\n" ); document.write( "--------------------------
\n" ); document.write( "how many combination are possible if you cannot have the same digit twice in a row?
\n" ); document.write( "Call the number F, S and T for 1st, 2nd and 3rd
\n" ); document.write( "F is 1/40
\n" ); document.write( "S is any but F, = 1/39
\n" ); document.write( "T is any but S, = 1/39
\n" ); document.write( "40*39*39 = 60840\r
\n" ); document.write( "\n" ); document.write( "this is what i came up with..59,280 for first one and can't figure out second one:(
\n" ); document.write( "
\n" );