OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (14,-13).
FORMULA
a(n) = 1 + A141012(n+1). - R. J. Mathar, Jan 05 2011
G.f.: ( 3-27*x ) / ( (13*x-1)*(x-1) ). - R. J. Mathar, Jan 05 2011
MATHEMATICA
LinearRecurrence[{14, -13}, {3, 15}, 30]
13^Range[0, 20]+2 (* Harvey P. Dale, Aug 13 2019 *)
PROG
(Magma) I:=[3, 15]; [n le 2 select I[n] else 14*Self(n-1)-13*Self(n-2): n in [1..30]]; // Vincenzo Librandi, Feb 25 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 10 2009
EXTENSIONS
a(9) corrected and a(17), a(18) added by R. J. Mathar, Jan 05 2011
STATUS
approved