Solutions to the Soma Cube

The 240 unique solutions to the Soma Cube.

You are now following this Submission

The Soma Cube is a popular physical puzzle. Computing all of the solutions is a challenging task, involving some math and some unusual combinatorial algorithms. The tables used in the MATLAB Soma Demo were computed in MATLAB V4 and then the code was lost. This is a recreation of that code.

Cite As

Bill McKeeman (2026). Solutions to the Soma Cube (https://www.mathworks.com/matlabcentral/fileexchange/26346-solutions-to-the-soma-cube), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.1

Updated license

1.1.0.0

Added MathWorks copyright and references.

1.0.0.0