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!)
 A174132 2*3^(n-1)-(-1)^n. 1
 3, 5, 19, 53, 163, 485, 1459, 4373, 13123, 39365, 118099, 354293, 1062883, 3188645, 9565939, 28697813, 86093443, 258280325, 774840979, 2324522933, 6973568803, 20920706405, 62762119219, 188286357653, 564859072963 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Vincenzo Librandi, Table of n, a(n) for n = 1..200 Index entries for linear recurrences with constant coefficients, signature (2,3). FORMULA From Bruno Berselli, Jan 28 2011 - Jan 30 2011: (Start) G.f.: x*(3-x)/((1+x)*(1-3*x)). a(n) = A062547(A042963(n-1)). a(n) = 2*sum[a(i), i=1..n-1]-2*(-1)^n+1 for n>1. (End) MATHEMATICA Table[(2 3^(n-1) - (-1)^n), {n, 30}] (* or *) CoefficientList[Series[(3 - x)/((1 + x)(1 - 3 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Aug 21 2014 *) PROG (MAGMA) [2*3^(n-1)-(-1)^n: n in [1..30]]; // Vincenzo Librandi, Aug 21 2014 CROSSREFS Cf. A154992. Sequence in context: A148546 A148547 A127998 * A106918 A182357 A181519 Adjacent sequences:  A174129 A174130 A174131 * A174133 A174134 A174135 KEYWORD nonn,easy AUTHOR Vincenzo Librandi, Jan 27 2011 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 October 23 16:40 EDT 2020. Contains 337969 sequences. (Running on oeis4.)