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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A176961 a(n) = (3*2^(n+1) - 8 - (-2)^n)/6. 1
 1, 2, 8, 12, 36, 52, 148, 212, 596, 852, 2388, 3412, 9556, 13652, 38228, 54612, 152916, 218452, 611668, 873812, 2446676, 3495252, 9786708, 13981012, 39146836, 55924052, 156587348, 223696212, 626349396, 894784852 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Vincenzo Librandi, Table of n, a(n) for n = 1..1000 Index entries for linear recurrences with constant coefficients, signature (1,4,-4). FORMULA a(n) - a(n-1) = A081631(n-2). a(n) = a(n-1) + 4*a(n-2) - 4*a(n-3). G.f.: x*(1 + x + 2*x^2) / ((x-1)*(2*x+1)*(2*x-1)). - R. J. Mathar, Apr 30 2010 a(n) = 2^n - A084247(n-1). - Bruno Berselli, Sep 15 2011 MATHEMATICA a[1] := 1; a[n_] := a[n] = a[n - 1]/2 + Sqrt[(5 + 4*(-1)^(n - 1))]/2: Table[2^(n - 1)*a[n], {n, 1, 30}] PROG (PARI) a(n)=(3<<(n+1)-(-2)^n)\/6-1 \\ Charles R Greathouse IV, Sep 14 2011 (MAGMA) [(3*2^(n+1)-8-(-2)^n)/6:n in [1..40]]; // Vincenzo Librandi, Sep 15 2011 CROSSREFS Sequence in context: A037197 A125712 A062290 * A078541 A285551 A135443 Adjacent sequences:  A176958 A176959 A176960 * A176962 A176963 A176964 KEYWORD nonn,easy AUTHOR Roger L. Bagula, Apr 29 2010 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.

Last modified February 27 03:03 EST 2020. Contains 332299 sequences. (Running on oeis4.)