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!)
A166035 a(n) = (3^n+6*(-4)^n)/7. 7
1, -3, 15, -51, 231, -843, 3615, -13731, 57111, -221883, 907215, -3569811, 14456391, -57294123, 230770815, -918300291, 3687550071, -14707153563, 58957754415, -235443597171, 942936650151, -3768259816203, 15083499618015 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (-1,12).

FORMULA

a(n) = -a(n-1) + 12*a(n-2), a(0) = 1, a(1) = -3, for n>1.

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

G.f.: (1-2x)/(1+x-12x^2).

E.g.f.: (1/7)*(exp(3*x) + 6*exp(-4*x)). - G. C. Greubel, Apr 24 2016

MATHEMATICA

LinearRecurrence[{-1, 12}, {1, -3}, 100] (* G. C. Greubel, Apr 24 2016 *)

PROG

(PARI) a(n)= (3^n+6*(-4)^n)/7;

for(n=0, 33, print1(a(n), ", "));

CROSSREFS

Cf. A077925, A091004.

Sequence in context: A284663 A231747 A192742 * A038192 A212869 A332375

Adjacent sequences:  A166032 A166033 A166034 * A166036 A166037 A166038

KEYWORD

easy,sign

AUTHOR

Philippe Deléham, Oct 05 2009

EXTENSIONS

a(5) corrected by Tilman Neumann, Dec 31 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 October 22 22:35 EDT 2021. Contains 348180 sequences. (Running on oeis4.)