OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (13,-22).
FORMULA
a(n) = (11^(n+1) - 2^(n+1))/9. - Zerinvary Lajos, Jun 05 2009
a(n) = 13*a(n-1) - 22*a(n-2). - Vincenzo Librandi, Jun 02 2011
MATHEMATICA
LinearRecurrence[{13, -22}, {1, 13}, 30] (* or *) CoefficientList[Series[ 1/((1-2x)*(1-11x)), {x, 0, 30}], x] (* Harvey P. Dale, Oct 15 2011 *)
PROG
(Sage) [(11^(n+1) - 2^(n+1))/9 for n in range(0, 20)] # Zerinvary Lajos, Jun 05 2009
(PARI) a(n)=(11^n++-2^n)/9 \\ Charles R Greathouse IV, Mar 26 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Incorrect comment removed by Charles R Greathouse IV, Mar 26 2012
STATUS
approved