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!)
A166114 a(n) = (6-(-4)^n)/5. 3
1, 2, -2, 14, -50, 206, -818, 3278, -13106, 52430, -209714, 838862, -3355442, 13421774, -53687090, 214748366, -858993458, 3435973838, -13743895346, 54975581390, -219902325554, 879609302222, -3518437208882, 14073748835534, -56294995342130 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = 4*a(n-2) - 3*a(n-1), a(0)= 1, a(1)= 2, for n>1.
a(n) = 6 - 4*a(n-1), a(0)=1.
a(n) = a(n-1) + (-4)^(n-1), a(0)=1.
G.f.: (1+5x)/(1+3x-4x^2).
E.g.f.: (6*exp(x) - exp(-4x))/5.
MATHEMATICA
Table[(6 - (-4)^n)/5, {n, 0, 100}] (* G. C. Greubel, Apr 24 2016 *)
PROG
(PARI) a(n)=(6-(-4)^n)/5 \\ Charles R Greathouse IV, Apr 28 2016
CROSSREFS
Sequence in context: A277556 A321179 A345370 * A366364 A202730 A292080
KEYWORD
easy,sign
AUTHOR
Philippe Deléham, Oct 06 2009
EXTENSIONS
a(12) onward changed by Georg Fischer, May 03 2019
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 April 24 05:36 EDT 2024. Contains 371918 sequences. (Running on oeis4.)