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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A168611 a(n) = 3^n - 4. 3
-3, -1, 5, 23, 77, 239, 725, 2183, 6557, 19679, 59045, 177143, 531437, 1594319, 4782965, 14348903, 43046717, 129140159, 387420485, 1162261463, 3486784397, 10460353199, 31381059605, 94143178823, 282429536477, 847288609439 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (4,-3).

FORMULA

a(n) = 3*a(n-1) + 8 with a(0)=-3.

G.f.: (11*x - 3)/((1-x)*(1-3*x)). - Vincenzo Librandi, Jul 06 2012

a(n) = 4*a(n-1) - 3*a(n-2). - Vincenzo Librandi, Jul 06 2012

E.g.f.: exp(3*x) - 4*exp(x). - G. C. Greubel, Jul 27 2016

MATHEMATICA

Table[3^n-4, {n, 0, 50}] (* Vladimir Joseph Stephan Orlovsky, May 19 2011 *)

CoefficientList[Series[(11*x-3)/((1-x)*(1-3*x)), {x, 0, 40}], x] (* Vincenzo Librandi, Jul 06 2012 *)

PROG

(MAGMA) I:=[-3, -1]; [n le 2 select I[n] else 4*Self(n-1)-3*Self(n-2): n in [1..30]]; // Vincenzo Librandi, Jul 06 2012

CROSSREFS

Sequence in context: A265981 A037280 A324204 * A133397 A174424 A298330

Adjacent sequences:  A168608 A168609 A168610 * A168612 A168613 A168614

KEYWORD

sign,easy

AUTHOR

Vincenzo Librandi, Dec 01 2009

EXTENSIONS

Formula and examples edited to use correct offset by Jon E. Schoenfield, Jun 19 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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 28 06:40 EDT 2021. Contains 346317 sequences. (Running on oeis4.)