login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
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
Sequence in context: A006736 A165752 A366603 * A120908 A145655 A265975
KEYWORD
easy,sign
AUTHOR
Philippe Deléham, Oct 05 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 7 04:34 EDT 2024. Contains 372300 sequences. (Running on oeis4.)