OFFSET
0,1
COMMENTS
Coincides with the Pisot sequence A010900 just for n <= 23.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,1,-1,1,-1,1).
FORMULA
Recurrence: a(n) = 3*a(n-1) + a(n-2) - a(n-3) + a(n-4) - a(n-5) + a(n-6).
MATHEMATICA
CoefficientList[Series[(4 + x - x^2 + x^3 - x^4 + x^5) / (1 - 3 x - x^2 + x^3 - x^4 + x^5 - x^6), {x, 0, 40}], x] (* Vincenzo Librandi, Aug 18 2016 *)
LinearRecurrence[{3, 1, -1, 1, -1, 1}, {4, 13, 42, 136, 440, 1424}, 40] (* Harvey P. Dale, Feb 15 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Aug 07 2016
STATUS
approved