document.write( "Question 143259: Make an organized list of all possible four-letter permutations of the letters in STEP?\r
\n" ); document.write( "\n" ); document.write( "I know by calculating that it should be 4*3*2*1=24 - however I only come up with STEP, TEPS, PSTE, EPST - how do I find all 24 words?\r
\n" ); document.write( "\n" ); document.write( "Thanks
\n" ); document.write( "

Algebra.Com's Answer #104250 by solver91311(24713)\"\" \"About 
You can put this solution on YOUR website!
Start with the word itself:\r
\n" ); document.write( "\n" ); document.write( "STEP. Then change the 3rd letter with the last
\n" ); document.write( "STPE. Then change the 2nd letter with one of the others
\n" ); document.write( "SETP. Then swap the last two again
\n" ); document.write( "SEPT. Change the 2nd letter one more time
\n" ); document.write( "SPTE. And swap the last two again
\n" ); document.write( "SPET. Giving you all six combinations that start with S.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Repeat the process beginning with one of the other letters. Repeat twice more with the remaining letters. That gives you 4 sets of 6 = 24.
\n" ); document.write( "
\n" );