login
A155665
a(n) = 11^n + 8^n - 1.
10
1, 18, 184, 1842, 18736, 193818, 2033704, 21584322, 231136096, 2492165418, 27011166424, 293901605202, 3207147853456, 35072467957818, 384147880094344, 4212432541504482, 46231204840282816, 507698828312979018, 5577931712001713464, 61303205636490402162, 673902916437166856176
OFFSET
0,2
FORMULA
G.f.: 1/(1-11*x)+1/(1-8*x)-1/(1-x).
E.g.f.: exp(11*x)+exp(8*x)-exp(x).
a(n) = 19*a(n-1)-88*a(n-2)-70 with a(0) = 1, a(1) = 18. - Vincenzo Librandi, Jul 21 2010
a(0) = 1, a(1) = 18, a(2) = 184, a(n) = 20*a(n-1)-107*a(n-2)+88*a(n-3). - Harvey P. Dale, May 18 2011
MATHEMATICA
Table[11^n+8^n-1, {n, 0, 20}] (* or *) LinearRecurrence[{20, -107, 88}, {1, 18, 184}, 20] (* Harvey P. Dale, May 18 2011 *)
PROG
(PARI) a(n)=11^n+8^n-1 \\ Charles R Greathouse IV, Jun 11 2015
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 31 2009
STATUS
approved