The following is one of many ways in which this arrangement can be made, and it seems to be the simplest of them all.

Number the persons 1 to 8; and for our first day set them down in numerical order except that the two centre ones (4 and 5) change places:

 (1st day)—12354678

Keep the 1 and the 7 unaltered but double each of the other numbers. When the product is greater than 8, divide by 7, and only set down the remainder. Thus we get:

 (8th day)—14638572

(Here the fourth figure 3 is 5 × 2 ÷ 7, giving remainder 3, and so on.)

Repeat this operation once more:

(15th day)—18562374

To fill in the intermediate days we have only to keep 1 unchanged and let the remaining numbers run downwards in simple numerical order, following 8 with 2, 2 with 3, and so on. Thus:—

1st day—12354678
2nd day—13465782
3rd day—14576823
4th day—15687234
5th day—16728345
6th day—17832456
7th day—18243567
8th day—14638572
9th day—15742683
10th day—16853724
11th day—17264835
12th day—18375246
13th day—12486357
14th day—13527468
15th day—18562374
16th day—12673485
17th day—13784526
18th day—14825637
19th day—15236748
20th day—16347852
21st day—17458263