The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A121517 a(n) = 4*a(n-1) + 4*a(n-2) - a(n-3); a(0)=1, a(1)=1, a(2)=7. 0
1, 1, 7, 31, 151, 721, 3457, 16561, 79351, 380191, 1821607, 8727841, 41817601, 200360161, 959983207, 4599555871, 22037796151, 105589424881, 505909328257, 2423957216401, 11613876753751, 55645426552351, 266613256008007 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = 5*a(n-1)-a(n-2)+3*(-1)^n.
G.f.: (1-3*x-x^2)/(1-4*x-4*x^2+x^3).
MATHEMATICA
LinearRecurrence[{4, 4, -1}, {1, 1, 7}, 30] (* Harvey P. Dale, Jan 28 2020 *)
CoefficientList[Series[(1-3*x-x^2)/(1-4*x-4*x^2+x^3), {x, 0, 30}], x] (* Harvey P. Dale, Jun 20 2021 *)
CROSSREFS
Sequence in context: A005825 A086901 A003526 * A199216 A057620 A055625
KEYWORD
nonn,easy
AUTHOR
Philippe Deléham, Sep 08 2006
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 May 22 17:27 EDT 2024. Contains 372758 sequences. (Running on oeis4.)