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!)
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
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
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 09:32 EDT 2024. Contains 371779 sequences. (Running on oeis4.)