OFFSET
1,1
COMMENTS
LINKS
Index entries for linear recurrences with constant coefficients, signature (44,-160).
FORMULA
a(n) = (5 * 4^n * (10^n-1))/9.
From Colin Barker, Jan 04 2013: (Start)
a(n) = 44*a(n-1) - 160*a(n-2).
G.f.: 20*x/((4*x-1)*(40*x-1)). (End)
EXAMPLE
a(1) = 2 + 4 + 6 + 8 = 20.
a(2) = 22 + 24 + 26 + 28 + 42 + ... + 68 + 82 + 84 + 86 + 88 = 880.
MAPLE
A:=seq(5 * 4^n *(10^n-1)/9, n=1..20);
MATHEMATICA
Table[(5*4^n*(10^n - 1))/9, {n, 20}] (* T. D. Noe, Dec 31 2012 *)
PROG
(PARI) a(n)=(5*4^n*(10^n-1))/9 \\ Charles R Greathouse IV, Jul 06 2017
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Bernard Schott, Dec 31 2012
STATUS
approved