login
A121213
7^n-5^n.
5
0, 2, 24, 218, 1776, 13682, 102024, 745418, 5374176, 38400482, 272709624, 1928498618, 13597146576, 95668307282, 672119557224, 4717043931818, 33080342678976, 231867574534082, 1624598900644824, 11379821699045018
OFFSET
0,2
COMMENTS
a(n) = 2*A081200(n). - Reinhard Zumkeller, Aug 01 2010
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
Cf. A074616.
Sequence in context: A208533 A174668 A302444 * A147538 A180388 A288270
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Aug 19 2006
STATUS
approved