OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (17,-16)
FORMULA
a(n) = 16*a(n-1) - 7.
G.f.: ( 1-8*x ) / ( (16*x-1)*(x-1) ). - R. J. Mathar, Feb 06 2011
MATHEMATICA
LinearRecurrence[{17, -16}, {1, 9}, 20] (* Harvey P. Dale, Apr 02 2018 *)
PROG
(Magma) [(7+8*16^n)/15: n in [0..20]]; // Vincenzo Librandi, Aug 09 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, May 20 2008
STATUS
approved