VOOZH
about
URL: https://oeis.org/A166036
⇱ A166036 - OEIS
login
A166036
a(n) = (4^n+8*(-5)^n)/9.
6
1, -4, 24, -104, 584, -2664, 14344, -67624, 354504, -1706984, 8797064, -42936744, 218878024, -1077612904, 5455173384, -27007431464, 136110899144, -676259528424, 3398477511304, -16923668079784
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
0,2
LINKS
Harvey P. Dale,
Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients
, signature (-1,20).
FORMULA
a(n) = -a(n-1) + 20*a(n-2), a(0) = 1, a(1) = -4, for n>1.
a(n) = Sum_{k=0..n}
A112555
(n,k)*(-5)^k.
G.f.: (1-3x)/(1+x-20x^2).
E.g.f.: (1/9)*(exp(4*x) + 8*exp(-5*x)). -
G. C. Greubel
, Apr 24 2016
MATHEMATICA
Table[(4^n+8(-5)^n)/9, {n, 0, 30}] (* or *) LinearRecurrence[{-1, 20}, {1, -4}, 30] (*
Harvey P. Dale
, Mar 05 2016 *)
PROG
(PARI) vector(100, n, n--; (4^n+8*(-5)^n)/9) \\
Altug Alkan
, Apr 24 2016
CROSSREFS
Cf.
A077925
,
A091004
,
A166035
.
Sequence in context:
A006736
A165752
A366603
*
A120908
A145655
A265975
Adjacent sequences:
A166033
A166034
A166035
*
A166037
A166038
A166039
KEYWORD
easy
,
sign
AUTHOR
Philippe Deléham
, Oct 05 2009
STATUS
approved