Hi,
Thanks for the explanations. I still did not get why the answer is 42 and not 48.
I agree with total no. of permutations = 5*4 * 3 = 60
Considering the cases when A & B are in the final three, we have the following 18 combinations
AB* ABC ABD ABE
BA* BAC BAD BAE
*AB CAB DAB EAB
*BA CBA DBA EBA
A*B ACB ADB AEB
B*A BCA BDA BEA
This is also obtained by (1*1*3)*3! = 18 ways
But the question says only that A & B should not be together in a straight line. So the last 6 - A*B and B*A should be also ok with the results.
If that is true, then it should be only 12 ways that are not allowed( and not 18).
This can also be arrived at by considering in the following way:
A and B can be arranged within in 2 ways
(AB) can be arranged with 3 other letters DEF in 3 ways
And position of AB and D/E/F can be interchanged in 2 ways.
Hence, 2*3*2 = 12 ways.
Final answer should be 60-12 = 48, based on the question. If it said that A&B together should not be in the final three at all( or A& B cannot be together in a circle positioning), then it is 60 - 18 = 42
Please let me know if I am making any mistake or assumption here.