login
A054401
5^n-4^n-1.
2
0, 8, 60, 368, 2100, 11528, 61740, 325088, 1690980, 8717048, 44633820, 227363408, 1153594260, 5835080168, 29443836300, 148292923328, 745759583940, 3745977788888, 18798608421180, 94267920012848, 472439111692020, 2366593604971208
OFFSET
1,2
FORMULA
a(1)=0, a(2)=8, a(3)=60, a(n)=10*a(n-1)-29*a(n-2)+20*a(n-3). - Harvey P. Dale, Aug 27 2013
MATHEMATICA
Table[5^n-4^n-1, {n, 40}] (* Vladimir Joseph Stephan Orlovsky, Feb 15 2011*)
LinearRecurrence[{10, -29, 20}, {0, 8, 60}, 30] (* Harvey P. Dale, Aug 27 2013 *)
CROSSREFS
Sequence in context: A297690 A268599 A250556 * A159727 A081158 A002927
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 22 2000
STATUS
approved