I am a high school student, so I apologize for what might be a simple question. The original question is:
There are an equal number of boys and girls in a class and they are seated in a row so that no two boys sit next to each other and no two girls sit next to each other. If one more student is added to the class the number of seating arrangements with the original conditions is tripled. How many students were in the class originally?
from this I wrote 3(t!+t!) = t!+(t+1)!, but the problem is I have no idea how to evaluate and solve for t. Thanks for your time!
Assertion: $$3(t!+t!)=t! + (t+1)!$$
Evaluation: $$\begin{align} 3\cdot 2t! = 6t! &= t! + (t+1)! \\ 5t! &= (t+1)! \\ 5 &= \frac{(t+1)!}{t!} \\ &= t+1 \\ t &= 5-1 \end{align}$$
Answer: $$\boxed{t=4}$$
I recently got a new phone with a new iOS so tell me if the formatting of my answer is not as it should be, and I will fix it.