OFFSET

0,6

LINKS

Colin Barker, Table of n, a(n) for n = 0..1000

Eric Weisstein's World of Mathematics, Golden Ratio

Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,0,0,1,-1).

FORMULA

From Colin Barker, Oct 28 2015: (Start)

a(n) = a(n-1)+a(n-12)-a(n-13) for n>12.

G.f.: -x^3*(x^17-x^16-x^9-x^7-x^5-x^2-1)/(x^13-x^12-x+1).

(End)

MATHEMATICA

LinearRecurrence[{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1}, {0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 8}, 100] (* Harvey P. Dale, Jul 12 2020 *)

PROG

(PARI) concat(vector(3), Vec(-x^3*(x^17-x^16-x^9-x^7-x^5-x^2-1)/(x^13-x^12-x+1) + O(x^100))) \\ Colin Barker, Oct 28 2015

CROSSREFS

KEYWORD

nonn,base,less,easy

AUTHOR

Eric W. Weisstein, Dec 07 2005

STATUS

approved