document.write( "Question 629274: Different positive four-digit integers are to be formed by using each of the digits 1,2,3,4 just once in each integer. How many different such integers can be formed if the digits 3 and 4 must NEVER be next to each other?\r
\n" ); document.write( "\n" ); document.write( "A. 4
\n" ); document.write( "B. 8
\n" ); document.write( "C. 12
\n" ); document.write( "D. 16
\n" ); document.write( "E. 24
\n" ); document.write( "

Algebra.Com's Answer #396147 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
i believe the answer is going to be 12.
\n" ); document.write( "here's how.
\n" ); document.write( "assume that 3 and 4 HAVE to be together.
\n" ); document.write( "They are treated as 1, and the formula becomes 3! rather than 4!.
\n" ); document.write( "3! equals 6 ways.
\n" ); document.write( "we'll let the number 7 represent 3 and 4 together.
\n" ); document.write( "the 6 ways are:
\n" ); document.write( "127
\n" ); document.write( "172
\n" ); document.write( "217
\n" ); document.write( "271
\n" ); document.write( "712
\n" ); document.write( "721
\n" ); document.write( "now we take the 7 and break it up into A and B so that they can be distinguished easier from the numbers 1 and 2.
\n" ); document.write( "we get:
\n" ); document.write( "12AB
\n" ); document.write( "12BA
\n" ); document.write( "21AB
\n" ); document.write( "21BA
\n" ); document.write( "1AB2
\n" ); document.write( "1BA2
\n" ); document.write( "2AB1
\n" ); document.write( "2BA1
\n" ); document.write( "AB12
\n" ); document.write( "AB21
\n" ); document.write( "BA12
\n" ); document.write( "BA21
\n" ); document.write( "since 4 number can be arranged 4! ways with no restrictions, then the number of ways we can get the 4 numbers arranged when we can't have 3 and 4 together would have to be 24 - 12 = 12.
\n" ); document.write( "those ways would be:
\n" ); document.write( "1A2B
\n" ); document.write( "1B2A
\n" ); document.write( "2A1B
\n" ); document.write( "2B1A
\n" ); document.write( "A1B2
\n" ); document.write( "A2B1
\n" ); document.write( "B1A2
\n" ); document.write( "B2A1
\n" ); document.write( "A12B
\n" ); document.write( "B12A
\n" ); document.write( "A21B
\n" ); document.write( "A12B
\n" ); document.write( "just replace the A and B with 3 and 4 and you have your answer in the format the problem was presented.
\n" ); document.write( "this works with 3 numbers as well.
\n" ); document.write( "suppose your number were 1 and 2 and 3.
\n" ); document.write( "supposed you wanted to know how many ways you could get the numbers when the 2 and the 3 could not be together.
\n" ); document.write( "assume they had to be together.
\n" ); document.write( "you then get 2! ways that can happen.
\n" ); document.write( "you then multiply that by 2 to get 4 ways that can happen.
\n" ); document.write( "assign A and B to 2 and 3 and you get:
\n" ); document.write( "1AB
\n" ); document.write( "1BA
\n" ); document.write( "AB1
\n" ); document.write( "BA1
\n" ); document.write( "that's the 4 ways they can be together.
\n" ); document.write( "3! = 6
\n" ); document.write( "6 - 4 = 2
\n" ); document.write( "that mans 2 ways that cannot be together.
\n" ); document.write( "those ways are:
\n" ); document.write( "A1B
\n" ); document.write( "B1A
\n" ); document.write( "replace A with 2 and B with 3 and you get the answer in the format it was presented.
\n" ); document.write( "I believe you answer is 12.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );