OFFSET
2,1
COMMENTS
The Frobenius number of a set S with gcd 1 is the largest nonnegative integer that cannot be represented as a nonnegative integer linear combination of the elements of S.
EXAMPLE
For n = 3 the Frobenius number of {6,10,15,21,28,...} is 29.
MATHEMATICA
Module[{nn=50, tr}, tr=Accumulate[Range[2nn]]; Table[FrobeniusNumber[ Drop[ tr, n]], {n, nn}]] (* Harvey P. Dale, Aug 27 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jeffrey Shallit, Mar 22 2021
STATUS
approved