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!)
A019992 a(n) = 4*a(n-1) + a(n-2) - a(n-3) - a(n-5). 2
5, 21, 88, 368, 1538, 6427, 26857, 112229, 468978, 1959746, 8189306, 34221135, 143001871, 597570335, 2497102330, 10434788478, 43604464772, 182212543365, 761422279419, 3181800093939, 13295975323332, 55560674643076, 232174661258332, 970201922073653, 4054239874815929, 16941690784755705, 70795240417122020 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
G.f.: (5+x-x^2-x^4)/(1-4*x-x^2+x^3+x^5). [Colin Barker, Feb 21 2012]
MATHEMATICA
CoefficientList[Series[(5+x-x^2-x^4)/(1-4*x-x^2+x^3+x^5), {x, 0, 30}], x] (* Vincenzo Librandi, Apr 20 2012 *)
LinearRecurrence[{4, 1, -1, 0, -1}, {5, 21, 88, 368, 1538}, 30] (* Harvey P. Dale, May 03 2020 *)
PROG
(Magma) I:=[5, 21, 88, 368, 1538]; [n le 5 select I[n] else 4*Self(n-1)+Self(n-2)-Self(n-3)-Self(n-5): n in [1..30]]; // Vincenzo Librandi, Apr 20 2012
CROSSREFS
This is different from A010925. See the comments in that sequence.
Sequence in context: A322875 A292494 A010925 * A010917 A277668 A270494
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Pab Ter (pabrlos(AT)yahoo.com), May 23 2004
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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)