In a performance of "Singing Revolutionary Songs" attended by six units, such as A and B, the programs of each unit were arranged together. If lots are drawn,

Solution: Considering the arrangement of unit A and unit B,

Units A and B can be arranged in any two of the six positions, and there are 30 possible results.

(i) Let A represent "The performance serial numbers of A and B are even", then A contains =6 kinds of results.

So the probability is.

(2) Let B mean that "the performance serial numbers of units A and B are not adjacent", that is, the serial numbers of units A and B are adjacent.

The contained result is 5×2! = 10 species,

So P(B)= 1-P( )=.