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