And making silly errors is
my middle name. Hopefully I would have counted letters before actually doing the work ...
That sounds like enough; what makes this sort of problem harder is not a special tool, but the need to find a model on which to build a method -- that is, a way to imagine creating an arrangement, that will produce each possibility exactly once. There are often several ways to do it, and one may be easier than another. (Actually, I'm often not sure of my answer until I find two different methods that give the same result.)
But now I have been able to find an orderly method that works for QUEUES, which can also apply to MAHARASHTRA. Here it is:
We want to arrange QSEEUU so that U is never adjacent to E.
First arrange QSEE, then insert two U's in legal positions. I'll first insert U and V, then divide by 2 because UV and VU represent the same arrangement.
(1) There are 3! = 6 ways to arrange QSEE with EE together (treating them as a unit). Now, of the 5 locations to put the next letter, 3 are next to an E, so 2 are allowed for U; then similarly 6-3 = 3 are allowed for V. But U and V can be swapped, so this gives 6*2*3/2 = 18 ways.
[for example, with .Q.E.E.S., 2 places are allowed for U, oQxExExSo. Having placed it, say as oQxExExSoUo, there are 3 open places for V. Having placed it, say as QEESVU, both that and QEESUV represent QEESUU.]
(2) There are 4!/2! - 3! = 6 ways to arrange QSEE with EE not adjacent (the rest of the ways to arrange QSEE). Now,of the 5 locations to put the next letter, 4 are next to an E (2 on each side of each E), so 1 is allowed for the first U; then 6-4 = 2 are allowed for V. Again we divide by 2 to get 6*1*2/2 = 6 ways.
[for example, with .Q.E.S.E., 1 place is allowed for U, oQxExSxEx. Having placed it, say as oUoQxExSxEx, there are 2 open places for V. Having placed it, say as UVQESE, both that and VUQESE represent UUQESE.]
This gives a total of 18+6=24 ways.
The same can be done for MAHARASHTRA. I'll leave that for others to try, rather than give away the full answer (also, rather than risk getting a number wrong). And there may well be an easier way.