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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A136408 a(n) = 3*a(n-1) - 4*a(n-2) + 6*a(n-3) - 4*a(n-4). 1
 1, 2, 4, 7, 13, 27, 55, 107, 211, 427, 859, 1707, 3403, 6827, 13675, 27307, 54571, 109227, 218539, 436907, 873643, 1747627, 3495595, 6990507, 13980331, 27962027, 55925419, 111848107, 223693483, 447392427, 894790315, 1789569707, 3579128491 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 LINKS Index entries for linear recurrences with constant coefficients, signature (3,-4,6,-4). FORMULA From R. J. Mathar, Apr 04 2008: (Start) O.g.f.: -(-1 + x - 2x^2 + 3x^3)/((x-1)*(2x-1)*(2x^2+1)). a(n) = 5*2^n/6 + 1/3 - A077966(n)/6. (End) a(n) = 1/3 + (5/6)*2^n - (1/12)*(i*sqrt(2))^n - (1/12)*(-i*sqrt(2))^n, with n>=0 and i=sqrt(-1). - Paolo P. Lava, Jun 09 2008 MATHEMATICA LinearRecurrence[{3, -4, 6, -4}, {1, 2, 4, 7}, 40] (* Harvey P. Dale, Aug 12 2016 *) PROG (PARI) a(n)=(5<

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.

Last modified August 10 09:46 EDT 2022. Contains 356039 sequences. (Running on oeis4.)