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!)
A133993 a(n) = a(n-1) + 3*a(n-2) - a(n-3) - 2*a(n-4), n > 3. 0
1, 2, 3, 4, 9, 14, 31, 56, 117, 226, 459, 908, 1825, 3638, 7287, 14560, 29133, 58250, 116515, 233012, 466041, 932062, 1864143, 3728264, 7456549, 14913074, 29826171, 59652316, 119304657, 238609286, 477218599, 954437168, 1908874365, 3817748698, 7635497427 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..34.

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

FORMULA

a(n) = 1+4*2^n/9+(-1)^n*(n/3-4/9).

G.f.: ( 1+x-2*x^2-4*x^3 ) / ( (2*x-1)*(x-1)*(1+x)^2 ).

a(n) = 3*a(n-2) + 2*a(n-3) - 4, for n>2. - Greg Dresden, Feb 21 2020

E.g.f.: (1/9)*(4*cosh(2*x) + (13 + 3*x)*sinh(x) + cosh(x)*(5 - 3*x + 8*sinh(x))). - Stefano Spezia, Feb 22 2020

MATHEMATICA

LinearRecurrence[{1, 3, -1, -2}, {1, 2, 3, 4}, 40] (* Harvey P. Dale, Aug 03 2018 *)

CROSSREFS

Equals 1 + A103196(n-1) for n>0. - Greg Dresden, Feb 21 2020

Sequence in context: A082981 A217787 A077906 * A122974 A032982 A288856

Adjacent sequences:  A133990 A133991 A133992 * A133994 A133995 A133996

KEYWORD

nonn,easy

AUTHOR

Paul Curtz, Jan 22 2008

EXTENSIONS

More terms from Harvey P. Dale, Aug 03 2018

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 September 20 16:31 EDT 2020. Contains 337265 sequences. (Running on oeis4.)