OFFSET
0,2
LINKS
Jens Kruse Andersen, Table of n, a(n) for n = 0..100
Index entries for linear recurrences with constant coefficients, signature (17,-16).
FORMULA
a(n) = 17*a(n-1) - 16*a(n-2). - Colin Barker, Aug 31 2014
G.f.: (14*x+1) / ((x-1)*(16*x-1)). - Colin Barker, Aug 31 2014
MAPLE
seq(coeff(series((14*x+1)/((x-1)*(16*x-1)), x, n+1), x, n), n = 0 .. 20); # Muniru A Asiru, Mar 12 2019
MATHEMATICA
Table[2^(4n + 1) - 1, {n, 0, 29}]
CoefficientList[ Series[(14x + 1)/((x - 1) (16x - 1)), {x, 0, 18}], x] (* Robert G. Wilson v, Jan 28 2015 *)
LinearRecurrence[{17, -16}, {1, 31}, 30] (* Harvey P. Dale, Mar 13 2016 *)
PROG
(PARI) vector(40, n, 2^(4*n-3)-1) \\ Derek Orr, Aug 11 2014
(PARI) Vec((14*x+1)/((x-1)*(16*x-1)) + O(x^100)) \\ Colin Barker, Aug 31 2014
(GAP) List([0..20], n->2^(4*n+1)-1); # Muniru A Asiru, Mar 12 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wassan Letourneur, Aug 09 2014
STATUS
approved