Seven Touching Cylinders Puzzle

It was proven in May 2014 that seven cylinders of same radius can pairwise touch each other (not using the ends of the cylinders) without overlapping.
A few months later a whole range of solutions was found.
This Demonstration "Seven Cylinders Puzzle" allows you to inspect and disassemble this range of solutions.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


Move the "angle" slider to see the range of solutions.
The angle parameter is the angle between cylinder number 1 (blue) and cylinder number 2 (orange).
Select "cylinder" or "tube". Tubes have rounded ends only as an display option; the 7-cylinder-puzzle assumes that the cylinders have infinite length.
In the next line you have seven toggles which control which cylinder is being displayed. Click the "all" toggle to show them all.
Pop-up menu "cyl" (for "cylinder") lets you inspect each cylinder in details.
You can change the color of the current cylinder, for example, by clicking the swatch at the end of the row.
You can also elongate the current or all cylinders (in steps of 5 or 10 units, at both ends).
"show cyl no" displays the cylinder numbers.
"show P,Q" marks two points ("beginning" and "end") at the center of the displayed cylinder.
Below this the actual coordinates of P and Q are displayed.
Finally, we have a few controls which hardly need an explanation: zoom, boxed (shows 3D wire frame), axes, opacity, radius and reset button.
Ed Pegg supplied the coordinates of the two points P and Q of each cylinder.
In May 2014 it was mathematically proven that seven non-overlapping cylinders of infinite length and same radius can touch each other (http://www.sciencedirect.com/science/article/pii/S0925772114000819). Two solutions have been found. A few months later a whole range of solutions was found.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+