All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General
Rameses' Pyramid (Posted on 2004-11-05) Difficulty: 3 of 5
A classic:

Rameses wishes to build a great pyramid for his interment.

The structure will have a square base and be solidly composed of cubical stone blocks. Each level of the pyramid contains one block fewer per side as the pyramid rises.

Rameses has available an initial work force of 35,000 slaves. 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 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 Rameses' pyramid? How tall will it be? How many of the original slaves survive the construction?

  Submitted by SilverKnight    
Rating: 3.0000 (1 votes)
Solution: (Hide)
Each block added results in the death of exactly one slave, and when there are fewer than 17 slaves no more blocks may be added, so the pyramid consists of at most 35000-16 = 34984 blocks. The first level needs 1 block, the next 4, and in general the ith level requires i^2 blocks, and so a pyramid n levels tall requires 1 + 2^2 + 3^2 + ... + n^2 = n(n+1)(2n+1)/6 blocks. This is between n^3/3 and (n+1)^3/3, and solving n^3/3 = 34984 we get that the maximum number of levels is either 46 or 47, with a quick check showing that 46 is correct. It follows that the pyramid is 46*3 = 138 meters tall, consists of 33511 blocks, and the number of slaves surviving the construction is 35000-33511=1489.

To compute the number of days required for construction, note that if there are m slaves on a given day the number of blocks added is between m/17 and m/17 - 16/17, and given k days it can be easily shown that the number of blocks added is between m/17 + (16/17)m/17 + ... + (16/17)^{k-1} m/17 and m/17 + (16/17)m/17 + ... + (16/17)^{k-1} m/17 - k*16/17; summing the geometric series we get m*(1-(16/17)^k), and so to find the number of days required we solve 35000*(1-(16/17)^k) = 33511 and get that (16/17)^k = .04254 or k=52.08. Since this came from an upper bound on the number of blocks, it's a lower bound on the number of days; thus, it'll take at least 53 days to build the pyramid. Checking the lower bound, we see that the number of blocks that can be added in 53 days is greater than 33542, and so the pyramid can indeed be built in 53 days.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
Partial AnswerK Sengupta2008-10-26 01:00:59
Solution (I Think)Gordon Steel2004-12-07 18:26:51
Solutionre(2): answerJohn2004-11-06 00:52:26
Solutionre: answerJohn2004-11-06 00:24:29
SolutionanswerJohn2004-11-05 23:34:10
working on unfinished layers (partial solution)Christian2004-11-05 13:33:04
re: All Answers Are Awry?nikki2004-11-05 13:29:05
Some ThoughtsAll Answers Are Awry?Old Original Oskar!2004-11-05 13:17:34
re(2): Logistical Commentarynikki2004-11-05 10:14:21
re: Logistical CommentarySing4TheDay2004-11-05 10:11:11
Logistical Commentary (some spoilers)nikki2004-11-05 09:50:49
SolutionComplete Pyramid - Would be haunted for sure !Syzygy2004-11-05 09:36:50
SolutionsolutionCharlie2004-11-05 09:32:20
SolutionAnswer + Excel Solutionnikki2004-11-05 09:03:00
Some ThoughtsFirst stepse.g.2004-11-05 08:59:17
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information