OFFSET
0,1
COMMENTS
Agrees with A010918 for terms 0 through 11055 but then differs from it.
a(11056) = 4971494197...7586894094 (9270 digits) = A010918(11056) - 1. - Jianing Song, Oct 15 2021
REFERENCES
R. K. Guy, personal communication.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (6,7,-5,-6).
FORMULA
G.f.: (8 + 7 x - 7 x^2 - 7 x^3)/(1 - 6 x - 7 x^2 + 5 x^3 + 6 x^4).
MAPLE
- (8 + 7*x - 7*x^2 - 7*x^3) /(7*x^2 - 1 + 6*x - 6*x^4 - 5*x^3);
MATHEMATICA
CoefficientList[ Series[(8 + 7 x - 7 x^2 - 7 x^3)/(1 - 6 x - 7 x^2 + 5 x^3 + 6 x^4), {x, 0, 18}], x] (* Robert G. Wilson v, May 16 2008 *)
LinearRecurrence[{6, 7, -5, -6}, {8, 55, 379, 2612}, 20] (* Harvey P. Dale, Apr 20 2017 *)
PROG
(Magma) I:=[8, 55, 379, 2612]; [n le 4 select I[n] else 6*Self(n-1)+7*Self(n-2)-5*Self(n-3)-6*Self(n-4): n in [1..30]]; // Vincenzo Librandi, Apr 21 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
The old definition was a(n) = 3*a(n-1) + a(n-2) - 2*a(n-3), but as R. J. Mathar pointed out, this did not match the entries. I have therefore replaced the definition with a g.f. found by Superseeker. - N. J. A. Sloane, May 16 2008
STATUS
approved