OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (5,-4).
FORMULA
a(n) = A002063(n)+2 = 5*a(n-1)-4*a(n-2).
G.f.: 2*x*(19-22*x)/((4*x-1)*(x-1)).
MATHEMATICA
LinearRecurrence[{5, -4}, {38, 146}, 50] (* Vincenzo Librandi, Mar 06 2012 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Aug 10 2009
EXTENSIONS
Edited by R. J. Mathar, Aug 21 2009
STATUS
approved