Hi all,
Just want to get some different ideas as to how to write this algorithm. I wrote it already, but it seems pretty long and I would like it shorter if possible. Here goes. I have ten people on a team. They are split into two groups of 5 (0-4,5-9). Each person in the group alternates being on call for the week. The call schedule is as follows:

MT***SS
0123400
5678955
1234011
6789566
2340122
7895677
3401233
8956788
4012344
9567899
0123400
.
.
.
Thanks in advance for any ideas/help!!!