An example might be:
Start (power of 2)
- (16 0)
- (16 0 8)
- (16 0 8 12)
(16 0 8 12 4)
- (16 0 8 12 4 14)
(16 0 8 12 4 14 10)
(16 0 8 12 4 14 10 6)
(16 0 8 12 4 14 10 6 2)
- (16 0 8 12 4 14 10 6 2 15)
(16 0 8 12 4 14 10 6 2 15 13)
(16 0 8 12 4 14 10 6 2 15 13 11)
(16 0 8 12 4 14 10 6 2 15 13 11 9)
(16 0 8 12 4 14 10 6 2 15 13 11 9 7)
(16 0 8 12 4 14 10 6 2 15 13 11 9 7 5)
(16 0 8 12 4 14 10 6 2 15 13 11 9 7 5 3)
(16 0 8 12 4 14 10 6 2 15 13 11 9 7 5 3 1)
With this method of selecting my pencils, I could stop drawing at any time and be assured that I have the greatest distinction possible between colors without knowing ahead of time the number of colors.
Any help would be appreciated. I am posting this in the Scheme forum, but Lisp solutions would be equally welcomed.