login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A083581 8/3-5(-2)^n/3. 7
1, 6, -4, 16, -24, 56, -104, 216, -424, 856, -1704, 3416, -6824, 13656, -27304, 54616, -109224, 218456, -436904, 873816, -1747624, 3495256, -6990504, 13981016, -27962024, 55924056, -111848104, 223696216, -447392424, 894784856, -1789569704, 3579139416, -7158278824 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (-1,2)

FORMULA

a(n) = (8-5(-2)^n)/3.

G.f.: (1+7x)/((1-x)(1+2x)).

E.g.f.: (8*exp(x)-5*exp(-2*x))/3.

MATHEMATICA

Table[(8 - 5 (-2)^n)/3, {n, 0, 40}] (* or *) CoefficientList[Series[(1 + 7 x)/((1 - x) (1 + 2 x)), {x, 0, 40}], x] (* Vincenzo Librandi, Aug 23 2014 *)

PROG

(MAGMA) [(8-5*(-2)^n)/3: n in [0..40]]; // Vincenzo Librandi, Aug 23 2014

(PARI) a(n)=8/3-5*(-2)^n/3 \\ Charles R Greathouse IV, Oct 07 2015

CROSSREFS

Cf. A083582.

Sequence in context: A325689 A199890 A198459 * A171089 A180495 A213761

Adjacent sequences:  A083578 A083579 A083580 * A083582 A083583 A083584

KEYWORD

easy,sign

AUTHOR

Paul Barry, May 01 2003

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 8 04:16 EDT 2020. Contains 335504 sequences. (Running on oeis4.)