|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
FrobeniusNumber
FrobeniusNumber[{a1, ..., an}]
gives the Frobenius number of
.
DetailsDetails
- The Frobenius number of
is the largest integer b for which the Frobenius equation
has no non-negative integer solutions. The
must be positive integers. - If the integers
are not relatively prime, the result is Infinity. - If one of the
is the integer
, then the result is
. - If b is the Frobenius number of
, then FrobeniusSolve[{a1, ..., an}, b] returns
.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
The Frobenius number of 12, 16, 20, 27:
| In[1]:= |
| Out[1]= |
New in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
