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