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!)
A165505 a(0)=1, a(1)=7, a(n) = 42*a(n-2) - a(n-1). 2
1, 7, 35, 259, 1211, 9667, 41195, 364819, 1365371, 13957027, 43388555, 542806579, 1279512731, 21518363587, 32221171115, 871550099539, 481739087291, 36123365093347, -15890323427125, 1533071657347699, -2200465241286949 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

a(n)/a(n-1) tends to -7.

LINKS

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

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

FORMULA

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

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

a(n) = (14*6^n-(-7)^n)/13. - Klaus Brockhaus, Sep 26 2009

E.g.f.: (14*exp(6*x) - exp(-7*x))/13. - G. C. Greubel, Oct 20 2018

MAPLE

A165505:=n->(14*6^n-(-7)^n)/13: seq(A165505(n), n=0..30); # Wesley Ivan Hurt, Apr 14 2017

MATHEMATICA

LinearRecurrence[{-1, 42}, {1, 7}, 40] (* G. C. Greubel, Oct 20 2018 *)

PROG

(PARI) vector(40, n, n--; (14*6^n-(-7)^n)/13) \\ G. C. Greubel, Oct 20 2018

(MAGMA) [(14*6^n-(-7)^n)/13: n in [0..40]]; // G. C. Greubel, Oct 20 2018

CROSSREFS

Sequence in context: A105926 A184460 A096686 * A165639 A073109 A231511

Adjacent sequences:  A165502 A165503 A165504 * A165506 A165507 A165508

KEYWORD

easy,sign

AUTHOR

Philippe Deléham, Sep 21 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 May 18 10:19 EDT 2021. Contains 343995 sequences. (Running on oeis4.)