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!)
A083229 a(n) = (3*3^n + (-5)^n)/4. 1
1, 1, 13, -11, 217, -599, 4453, -17891, 102577, -473519, 2485693, -12074171, 61433737, -303980039, 1529466133, -7618632851, 38179257697, -190638008159, 953964881773, -4767499885931, 23844472998457, -119201444285879, 596069983548613, -2980161631385411 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
G.f.: (1+3*x)/((1-3*x)*(1+5*x)).
E.g.f.: (3*exp(3*x) + exp(-5*x))/4.
a(n) = -2*a(n-1) + 15*a(n-2). - Wesley Ivan Hurt, Dec 29 2023
MATHEMATICA
Table[(3*3^n+(-5)^n)/4, {n, 0, 30}] (* or *) LinearRecurrence[{-2, 15}, {1, 1}, 30] (* Harvey P. Dale, Jun 09 2013 *)
PROG
(Magma) [(3*3^n+(-5)^n)/4: n in [0..25]]; // Vincenzo Librandi, Jun 29 2011
CROSSREFS
Sequence in context: A196124 A196121 A298893 * A140554 A356978 A022969
KEYWORD
easy,sign
AUTHOR
Paul Barry, Apr 23 2003
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 24 15:52 EDT 2024. Contains 371961 sequences. (Running on oeis4.)