Posts

Showing posts from February, 2018

Remember

Image
Archaeologists estimate that the Great Pyramid of Giza was constructed around the year 2560 BC. It is easy to lose perspective on just how far back in time this was. The end of classical antiquity, which is the period of history that includes the Roman Empire and Ancient Greek civilization, occurred around the year 600 AD. The fall of the Roman Republic with the death of Julius Caesar occurred around 20 BC. This is not much more than 2000 years ago. The Ancient Egyptians built the Pyramids more than double the length of time since the fall of the Roman Republic. To put it a different way, the Ancient Greeks are to us today as the Ancient Egyptians were to the Ancient Greeks . And all throughout these millennia, many billions of human beings lived and died. Of these billions, how many are still remembered today? There is a proverb that I've heard several times now which states that every human dies twice: the first when you stop breathing forever, and the second when your name is...

Great Big House in New Orleans: The Special Case

A few months ago, I published a post called Great Big House in New Orleans , in which I discuss a game I used to play in my elementary school music class. In that post, I explained how I designed an efficient algorithm that allowed me to quickly find the winning position of the game given how many people are playing. I published the actual algorithm itself in a second post . Basically, in the game, all students in the class sat in a circle and passed a stuffed pumpkin around while singing a song. The rules of the game were such that every eighth student gets out (i.e. exits the circle), and the last student to remain in the circle wins. Essentially, I discovered that if you have add one person to the group of people playing the game, the winning position shifts to the right by eight. For example, in an elementary school class of 21 students sitting in a circle, the student sitting at position 10 will win. If I add one student to the class, the winning position increases by eight. ...