**Baguenaudier** (also known as the **Chinese Rings**, **Cardan's Suspension**, **Cardano's Rings**, **Devil's needle** or **five pillars** puzzle) is a disentanglement puzzle featuring a loop which must be disentangled from a sequence of rings on interlinked pillars.^{[1]} The loop can be either string or a rigid structure.

It is thought to have been invented originally in China. The origins are obscure. The American ethnographer Stewart Culin related a tradition attributing the puzzle's invention to the 2nd/3rd century Chinese general Zhuge Liang.^{[2]}^{[3]} The name "*Baguenaudier*" is French for "time-waster".^{[1]} It was used by French peasants as a locking mechanism.^{[1]}

Variations of this include *The Devil's Staircase*, *Devil's Halo*^{[4]} and the *Impossible Staircase*. Another similar puzzle is the *Giant's Causeway* which uses a separate pillar with an embedded ring.

## Mathematical solution

The 19th-century French mathematician Édouard Lucas, the inventor of the Tower of Hanoi puzzle, was known to have come up with an elegant solution which used binary and Gray codes, in the same way that his puzzle can be solved.^{[2]} The minimum number of moves to solve an *n*-ringed problem has been found to be:

^{[1]}

For other formulae, see OEIS A000975.

## See also

## References

- ^
^{a}^{b}^{c}^{d}Weisstein, Eric W. "Baguenaudier".*MathWorld*. - ^
^{a}^{b}David Darling – encyclopedia **^**Hinz, Andreas M.; Klavžar, Sandi; Milutinović, Uroš; Petr, Ciril (2015).*The Tower of Hanoi – Myths and Maths*. Birkhäuser. p. 4. ISBN 978-3034807692.**^**The Devil's Halo - The Puzzle Museum