login
A139747
a(n) = 11^n - 9^n.
1
0, 2, 40, 602, 8080, 102002, 1240120, 14704202, 171312160, 1970527202, 22450640200, 253930611002, 2855998840240, 31980846315602, 356873041128280, 3971357037321002, 44096709674720320, 488769846799627202, 5409822678195232360, 59808238730741554202
OFFSET
0,2
FORMULA
a(n) = 20*a(n-1) - 99*a(n-2). - Vincenzo Librandi, Jun 02 2011
MATHEMATICA
Table[11^n-9^n, {n, 0, 30}] (* or *) LinearRecurrence[{20, -99}, {0, 2}, 30] (* Harvey P. Dale, Apr 10 2016 *)
PROG
(Magma) [11^n-9^n: n in [0..30]]; // Vincenzo Librandi, Jun 02 2011
CROSSREFS
Sequence in context: A160229 A012807 A127186 * A230133 A279214 A264716
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 20 2008
STATUS
approved