Mathematica 9 is now available

Wolfram Library Archive

All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Treat Yourself to a Movie Marathon

Zhe Hu
Revision date


To fight the stagnation of a dull Sunday afternoon, my friend, Sherlock Holmes decided, instead of resorting to his old bad habits, to go to the movie theatre. Based on what was available at the theatre, he wanted to maximize the amount of movie time he got to see during the day.

He had developed this new habit of watching movies continuously for a whole Sunday afternoon, which wouldn't be a pleasant experience for his companion with weaker mental strength. But such brain marathon was just what Mr. Holmes was looking for.

With the help of Mathematica and a little functional programming tactic, you can also learn to treat yourself a movie marathon in the theatre.

*Applied Mathematics > Optimization
*Mathematics > Discrete Mathematics > Combinatorics
*Mathematics > Recreational Mathematics
Downloads Download Wolfram CDF Player

movie.nb (653.8 KB) - Mathematica Notebook