OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,2,-2,0,0,0,-1,1).
FORMULA
G.f.: x*(x^10-6*x^5-x^4-x^3-x^2-x-1) / ((x-1)^3*(x^4+x^3+x^2+x+1)^2). [Colin Barker, Dec 13 2012]
EXAMPLE
a(6)=13 because 13 is the largest number k such that the equation 7*x_1 + 8*x_2 + 9*x_3 + 10*x_4 + 11*x_5 + 12*x_6 = k has no solution for any nonnegative x_i (in other words, for every k > 13 there exist one or more solutions).
MATHEMATICA
Table[FrobeniusNumber[{n + 1, n + 2, n + 3, n + 4, n + 5, n + 6}], {n, 1, 100}]
Table[FrobeniusNumber[Range[n, n+5]], {n, 2, 100}] (* Harvey P. Dale, Dec 22 2018 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Apr 05 2008
STATUS
approved