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!)
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
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
Sequence in context: A043020 A073994 A165758 * A300582 A366658 A049316
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)