@Daniel I don't know if the OP wanted to keep the internal ordering of both letters...
Regarding my answer:
The 1st part assumes a gap of "at least one" + letters are randomized
The 2nd part assumes a gap of "exactly two" + letters are randomized
The 3rd part assumes a gap of "exactly two" + letters not randomized (relatively to each other)