OFFSET
1,1
COMMENTS
All terms are multiples of 389.
LINKS
Colin Barker, Table of n, a(n) for n = 1..120
Index entries for linear recurrences with constant coefficients, signature (64160102,-1).
FORMULA
a(n) = 64160102*a(n-1)-a(n-2).
G.f.: -389*x*(x-1) / (x^2-64160102*x+1).
MATHEMATICA
LinearRecurrence[{64160102, -1}, {389, 24958279289}, 20] (* or *) With[ {c1= 32080051-3115890Sqrt[106], c2 =32080051+3115890Sqrt[106]}, Table[ (41234c1^n+ 4005Sqrt[106] c1^n+41234c2^n-4005Sqrt[106] c2^n)/212, {n, 10}]]//Simplify (* Harvey P. Dale, Mar 02 2019 *)
PROG
(PARI) Vec(-389*x*(x-1)/(x^2-64160102*x+1) + O(x^30))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Aug 26 2013
STATUS
approved