Pentalpha is a puzzle where the goal is to place nine stones on the ten intersections of a pentagram. The following rules need to be obeyed when placing the stones:
The puzzle is used as a confidence trick in Mexico, where it is known as estrella mágica.
The solution to Pentalpha can be found for any starting point using the following algorithm: