In the Thomson problem, point charges are placed on the surface of a unit sphere in such a way as to minimize the total energy of the system. These solutions place each point so that its nearest neighbors are as far away as possible.
This Demonstration uses precalculated data from , which represents many years of research and optimization. Officially, the problem is only solved for 1 to 6 and 12 points; all other solutions are considered "best known." For code that solves the Thomson problem, see the Related Links.