7 candidates are to be examined 2 in mathematics and the remaining in different subjects . in how many ways can they be seated in a row so that the two examinees in mathematics may not sit together ?
Please follow the link for the answer similar to your query:
https://www.meritnation.com/ask-answer/question/in-an-examination-10-candidates-have-to-appear-4-candidates/permutations-and-combinations/7241743
https://www.meritnation.com/ask-answer/question/in-an-examination-10-candidates-have-to-appear-4-candidates/permutations-and-combinations/7241743