OFFSET
1,5
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,2,0,0,0,0,-1).
FORMULA
From R. J. Mathar, Apr 20 2008: (Start)
O.g.f.: -x*(-1-x-x^2-x^3-8*x^4+2*x^9)/((x-1)^2*(x^4+x^3+x^2+x+1)^2).
a(n) = 2*a(n-5) - a(n-10). (End)
a(n) = (1/5)*n*x(5+mod(n,5))-(1/5)*mod(n,5)*x(5+mod(n,5))+x(mod(n,5))-(1/5)*n*x(mod(n,5))+(1/5) *mod(n,5)*x(mod(n,5)). - Alexander R. Povolotsky, Apr 20 2008
MATHEMATICA
a = {}; Do[AppendTo[a, FrobeniusNumber[{n + 1, n + 2, n + 3, n + 4, n + 5, n + 6}]], {n, 1, 100}]; Differences[a]
LinearRecurrence[{0, 0, 0, 0, 2, 0, 0, 0, 0, -1}, {1, 1, 1, 1, 8, 2, 2, 2, 2, 14}, 90] (* G. C. Greubel, Feb 18 2017 *)
Differences[Table[FrobeniusNumber[Range[n, n+5]], {n, 2, 90}]] (* Harvey P. Dale, Dec 18 2023 *)
PROG
(PARI) my(x='x + O('x^90)); Vec(-x*(-1-x-x^2-x^3-8*x^4+2*x^9)/((x-1)^2*(x^4+x^3+x^2+x+1)^2)) \\ G. C. Greubel, Feb 18 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Apr 05 2008
STATUS
approved
