# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/
Search: id:a168569
Showing 1-1 of 1
%I A168569 #26 Sep 08 2022 08:45:49
%S A168569 0,9,36,117,360,1089,3276,9837,29520,88569,265716,797157,2391480,
%T A168569 7174449,21523356,64570077,193710240,581130729,1743392196,5230176597,
%U A168569 15690529800,47071589409,141214768236,423644304717,1270932914160
%N A168569 a(n) = 9*(3^n - 1)/2.
%H A168569 Vincenzo Librandi, Table of n, a(n) for n = 0..1000
%H A168569 Index entries for linear recurrences with constant coefficients, signature (4,-3).
%F A168569 From _R. J. Mathar_, Jan 04 2011: (Start)
%F A168569 a(n) = 9*A003462(n).
%F A168569 G.f.: 9*x / ( (3*x-1)*(x-1) ). (End)
%F A168569 a(n) = 4*a(n-1)-3*a(n-2). - _Robert Israel_, Sep 24 2014
%F A168569 E.g.f.: (9/2)*(exp(3*x) - exp(x)). - _G. C. Greubel_, Jul 26 2016
%t A168569 9 (3^Range[0,30]-1)/2 (* _Harvey P. Dale_, Mar 18 2011 *)
%t A168569 CoefficientList[Series[9 x / ((1 - x) (1 - 3 x)), {x, 0, 30}], x] (* _Vincenzo Librandi_, Sep 24 2014 *)
%o A168569 (Magma) [9*(3^n-1)/2: n in [0..30]]; // _Vincenzo Librandi_, Sep 24 2014
%o A168569 (PARI) a(n)=9*(3^n-1)/2 \\ _Charles R Greathouse IV_, Jul 26 2016
%Y A168569 Cf. A003462.
%K A168569 nonn,easy
%O A168569 0,2
%A A168569 _Vincenzo Librandi_, Nov 30 2009
# Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE