Let's say I have 8 digits:  two ones, two twos, two threes and two fours.  I want to arrange these in a line, such that the two ones have one digit between them, the two twos have two digits between them and so forth.  Can you find a solution?