OFFSET
1,2
EXAMPLE
a(4)=16 because 16 is the largest number k such that equation 7*x_1 + 11*x_2 + 13*x_3 + 17*x_4 + 19*x_5 + 23*x_6 = k has no solution for any nonnegative x_i (in other words, for every k > 16 there exist one or more solutions).
MATHEMATICA
Table[FrobeniusNumber[{Prime[n], Prime[n + 1], Prime[n + 2], Prime[n + 3], Prime[n + 4], Prime[n + 5]}], {n, 1, 100}]
FrobeniusNumber/@Partition[Prime[Range[100]], 6, 1] (* Harvey P. Dale, Aug 15 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Apr 05 2008
STATUS
approved