An AB pattern is a simple repeating pattern where two elements alternate in a sequence, such as pumpkin-bat-pumpkin-bat.