OFFSET
0,2
LINKS
Muniru A Asiru, Table of n, a(n) for n = 0..250
Index entries for linear recurrences with constant coefficients, signature (9,-20,12).
FORMULA
a(n) = (9*6^n - 5*2^n + 1)/5. - Bruno Berselli, Feb 09 2011
a(0)=1, a(n) = 6*a(n-1) + 2^(n+1) - 1. - Vincenzo Librandi, Feb 09 2011
a(n) = Sum_{k=0..n} 2^(n-1-k) * (3^(n+1-k) - 1). - J. M. Bergot, Feb 06 2018
MAPLE
seq((9*6^n-5*2^n+1)/5, n=0..100); # Muniru A Asiru, Feb 06 2018
PROG
(GAP) List([0..100], n->(9*6^n-5*2^n+1)/5); # Muniru A Asiru, Feb 06 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved