The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A168569 a(n) = 9*(3^n - 1)/2. 2
0, 9, 36, 117, 360, 1089, 3276, 9837, 29520, 88569, 265716, 797157, 2391480, 7174449, 21523356, 64570077, 193710240, 581130729, 1743392196, 5230176597, 15690529800, 47071589409, 141214768236, 423644304717, 1270932914160 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
From R. J. Mathar, Jan 04 2011: (Start)
a(n) = 9*A003462(n).
G.f.: 9*x / ( (3*x-1)*(x-1) ). (End)
a(n) = 4*a(n-1)-3*a(n-2). - Robert Israel, Sep 24 2014
E.g.f.: (9/2)*(exp(3*x) - exp(x)). - G. C. Greubel, Jul 26 2016
MATHEMATICA
9 (3^Range[0, 30]-1)/2 (* Harvey P. Dale, Mar 18 2011 *)
CoefficientList[Series[9 x / ((1 - x) (1 - 3 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Sep 24 2014 *)
PROG
(Magma) [9*(3^n-1)/2: n in [0..30]]; // Vincenzo Librandi, Sep 24 2014
(PARI) a(n)=9*(3^n-1)/2 \\ Charles R Greathouse IV, Jul 26 2016
CROSSREFS
Cf. A003462.
Sequence in context: A193007 A369888 A259279 * A213283 A188162 A353389
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 30 2009
STATUS
approved

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 20:02 EDT 2024. Contains 372533 sequences. (Running on oeis4.)