Mark:
CANDY
2^n for n=0 to 9 until he runs out of candy.
Mark gives us an answer in French, which when I ran it through a cheese grater translator it came out as:
The ten bags should hold the following amounts of candy:
Bag 1: 1
Bag 2: 2
Bag 3: 4
Bag 4: 8
Bag 5: 16
Bag 6: 32
Bag 7: 64
Bag 8: 128
Bag 9: 256
Bag 10: any amount from 489 to 512
For example, to fill an order of 63 pieces of candy, you would give the customer bags 1 through 6!
To fill an order of 300 pieces, you would give bags 3, 4, 6, and 9.
This is based on the binary (base 2) number system.
Twas the night before the holidays, and at the South Pole
The last-minute planning was taking its toll.
As Santa was hastily making a scheme
For the placement of deer in his sleigh-pulling team,
The good Mrs. Claus was crocheting bright bows
To be worn by these reindeer (four bucks and four does).
The ribbons were colored in eight festive hues:
One ocher, one rose, one cerise, one chartreuse,
One maroon, one magenta, one white, and one blue.
(These ribbons helped Santa keep track of who's who.)
The deer pulled the toy-laden sleigh in four rows,
Arranged so no row held two bucks or does.
The order of pullers was changed year by year,
For Santa was thoroughly fair with his deer.
He summoned the elves and instructed them thus:
"Let's hitch up the reindeer with minimum fuss.
The bow on the buck behind Dasher is white,
While Blitzen, a doe, sees cerise to her right.
The blue bow is nearer my sleigh than is Dancer,
But nearer the front of my team than is Prancer.
The doe in chartreuse gets a front-of-team honor,
But not on the same side as Cupid or Donner.
Now Comet stands two spots ahead of the rose.
And three deer of four on the right side are does.
The cerise bow is worn two in back of maroon,
One of which is beside the bright ocher festoon.
Oh-Cupid's in front of a buck, by the way.
Well, that's how they line up for pulling my sleigh.
I trust that you elves, being clever, now know
Each reindeer's position and color of bow."
In no time each colorful ribbon was tied
And the team was hitched up for the transglobal ride.
Can you ascertain where each member fits in
Who's Comet? Who's Cupid" Where's Donner? And Blitzen
Who's Dasher? Who's Dancer" Where's Vixen? And Prancer
With logical thought, you'll determine the answer
And write down the color and place for each deer
Happy Holidays to all, and to all much good cheer!
Row / Position / Name / buck:Doe / Ribbon Color