OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..200
Index entries for linear recurrences with constant coefficients, signature (5, -4, -8, 8).
FORMULA
From R. J. Mathar, Feb 06 2010: (Start)
a(n) = 5*a(n-1) - 4*a(n-2) - 8*a(n-3) + 8*a(n-4).
G.f.: x*(1+6*x-28*x^2+16*x^3)/ ((1-x) * (2*x-1) * (4*x^2+2*x-1)). (End)
MAPLE
with(combinat, fibonacci): seq(2^n - 1 + fibonacci(n - 1)*2^(n+1), n=1..25);
MATHEMATICA
Table[2^n-1+Fibonacci[n-1]2^(n+1), {n, 30}] (* or *) LinearRecurrence[{5, -4, -8, 8}, {1, 11, 23, 79}, 30] (* Harvey P. Dale, Dec 19 2021 *)
PROG
(PARI) a(n) = { 2^n - 1 + fibonacci(n - 1)*2^(n + 1) } \\ Harry J. Smith, Jul 02 2009
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Pieter Gosselink (pieter_gosselink(AT)lotus.com), Mar 12 2001
EXTENSIONS
More terms from Asher Auel, Mar 16 2001
STATUS
approved