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!)
A166152 a(n) = (6^n+12*(-7)^n)/13. 4
1, -6, 48, -300, 2316, -14916, 112188, -738660, 5450556, -36474276, 265397628, -1797317220, 12944017596, -88431340836, 632080079868, -4346196394980, 30893559749436, -213433808338596, 1510963317814908 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

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

FORMULA

a(n) = 42*a(n-2)-a(n-1), a(0)= 1, a(1)= -6, for n>1.

G.f.: (1-5x)/(1+x-42*x^2).

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

E.g.f.: (1/13)*(exp(6*x) + 12*exp(-7*x)). - G. C. Greubel, May 01 2016

MATHEMATICA

LinearRecurrence[{-1, 42}, {1, -6}, 50] (* G. C. Greubel, May 01 2016 *)

Table[(6^n+12*(-7)^n)/13, {n, 0, 30}] (* Harvey P. Dale, Jun 01 2019 *)

PROG

(PARI) a(n)=(6^n+12*(-7)^n)/13 \\ Charles R Greathouse IV, May 02 2016

CROSSREFS

Cf. A166035, A166036, A166149.

Sequence in context: A043020 A073994 A165758 * A300582 A049316 A320072

Adjacent sequences:  A166149 A166150 A166151 * A166153 A166154 A166155

KEYWORD

easy,sign

AUTHOR

Philippe Deléham, Oct 08 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 July 26 16:44 EDT 2021. Contains 346294 sequences. (Running on oeis4.)