OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
Index entries for linear recurrences with constant coefficients, signature (26, -49, 24).
FORMULA
a(1)=1, a(2)=26, a(3)=627, a(n) = 26*a(n-1) - 49*a(n-2) + 24*a(n-3). - Vincenzo Librandi, Oct 19 2012
MATHEMATICA
LinearRecurrence[{26, -49, 24}, {1, 26, 627}, 20] (* Vincenzo Librandi, Oct 19 2012 *)
PROG
(Magma) I:=[1, 26, 627]; [n le 3 select I[n] else 26*Self(n-1) - 49*Self(n-2) + 24*Self(n-3): n in [1..20]]; // Vincenzo Librandi, Oct 19 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved