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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A165746 a(n) = 3 - 2*3^n. 2
1, -3, -15, -51, -159, -483, -1455, -4371, -13119, -39363, -118095, -354291, -1062879, -3188643, -9565935, -28697811, -86093439, -258280323, -774840975, -2324522931, -6973568799, -20920706403, -62762119215, -188286357651 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

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

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

FORMULA

G.f.: (1-7*x)/(1 - 4*x + 3*x^2).

a(n) = 3 - A008776(n).

a(n) = 4*a(n-1) - 3*a(n-2) for n > 1; a(0)=1, a(1)=-3.

a(n) = Sum_{k=0..n} A112555(n,k)*(-4)^(n-k).

a(n) = 3*a(n-1) - 6. - Vincenzo Librandi, Nov 03 2011

PROG

(MAGMA) [3-2*3^n : n in [0..30]]; // Vincenzo Librandi, Nov 03 2011

CROSSREFS

Sequence in context: A012203 A112586 A043005 * A248122 A118126 A282464

Adjacent sequences:  A165743 A165744 A165745 * A165747 A165748 A165749

KEYWORD

sign,easy

AUTHOR

Philippe Deléham, Sep 26 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 5 06:52 EST 2021. Contains 349543 sequences. (Running on oeis4.)