Shanghai senior high school mathematics permutation and combination
If A is not at both ends, the arrangement of A is C( 1, 2), and the rest can be arranged at will, and A (3,3) = 6. Considering that A is at the left and right ends of B in all permutations, it is * * * with (1/2) × C (6544).