Upgrading from:

NumberTheory`Frobenius`

FrobeniusInstance and FrobeniusSolve are now available as the newly added built-in Mathematica kernel function FrobeniusSolve.
FrobeniusF is now available as the newly added built-in Mathematica kernel function FrobeniusNumber.

FrobeniusSolve

All solutions of the Frobenius equation :

Version 5.2 << NumberTheory`Frobenius`;
FrobeniusSolve[{12, 16, 20, 27}, 123]
In[9]:=
Click for copyable input
Out[9]=

Find one solution of the Frobenius equation :

Version 5.2 << NumberTheory`Frobenius`;
FrobeniusInstance[{12, 16, 20, 27}, 123]
In[2]:=
Click for copyable input
Out[2]=

FrobeniusNumber

The Frobenius number of 12, 16, 20, 27:

Version 5.2 << NumberTheory`Frobenius`;
FrobeniusF[{12, 16, 20, 27}]
In[12]:=
Click for copyable input
Out[12]=
RELATED GUIDES