My Funeral Planning.
When I die, I wish to be buried in a pyramid. A little egotiscal I know, but what the hey! The structure will have a square base and be solidly composed of cubical stone blocks. Each level of the pyramid contains one less block per side as the pyramid rises. I have gathered together an initial work force of 35,000 slaves. No mean feat in this day and age of employment law, I can tell you!
Each morning the available labor pool is divided into work crews of 17 slaves each. Any remainder that cannot form a full crew gets the day off (my kind and caring nature got the better of me there) but are available the following day. Each crew can lay one block of the pyramid each day.
Unfortunately, the heat of the desert sun causes the death of one member of each crew each day. Work ceases on the project when it can be determined that there will be insufficient slaves available to raise the pyramid one more level. Each stone block measures 3 meters per side.
How many days will it take to construct my pyramid?
How tall will it be?
How many of the original slaves survive the construction?