OFFSET
0,2
COMMENTS
a(n) = 2*A081200(n). - Reinhard Zumkeller, Aug 01 2010
LINKS
FORMULA
a(n)=12*a(n-1)-35*a(n-2) with a(0)=0, a(1)=2 - Vincenzo Librandi, Jul 21 2010
G.f.: 2*x/((5*x-1)*(7*x-1)). - Colin Barker, Nov 05 2012
MATHEMATICA
Table[7^n-5^n, {n, 0, 20}] (* or *) LinearRecurrence[{12, -35}, {0, 2}, 20] (* Harvey P. Dale, Feb 10 2018 *)
PROG
(PARI) a(n)=7^n-5^n \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Aug 19 2006
STATUS
approved