Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It appears that this functionality has not been implemented in SageMath. This comment and the associated answer by Stan Wagon at MathOverflow state that the Mathematica function uses the algorithm described here:

A15: Frobenius Numbers by Lattice Point Enumeration by David Einstein, Daniel Lichtblau, Adam Strzebonski, and Stan Wagon.

Here is another paper describing an algorithm by Dale Beihoffer, Jemimah Hendry, Albert Nijenhuis, and Stan Wagon with different properties.

This algorithm of Böcker and Lipták is described in Beihoffer et al as "very elegant and simple", so perhaps that might be something easier to try to code, depending on your needs.