login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098575 a(n) = Sum_{k=0..floor(n/4)} C(n-2*k,2*k)*2^k. 3
1, 1, 1, 1, 3, 7, 13, 21, 35, 63, 117, 213, 379, 671, 1197, 2149, 3859, 6911, 12357, 22101, 39563, 70847, 126845, 227045, 406371, 727391, 1302101, 2330901, 4172443, 7468767, 13369293, 23931621, 42838835, 76683583, 137266917, 245713493 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

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

FORMULA

G.f.: (1-x)/((1-x)^2-2*x^4).

a(n) = 2*a(n-1) - a(n-2) + 2*a(n-4).

MATHEMATICA

CoefficientList[Series[(1-x)/((1-x)^2-2x^4), {x, 0, 40}], x] (* Vincenzo Librandi, Jun 17 2012 *)

PROG

(MAGMA) I:=[1, 1, 1, 1]; [n le 4 select I[n] else 2*Self(n-1)-Self(n-2)+2*Self(n-4): n in [1..40]]; // Vincenzo Librandi, Jun 17 2012

(PARI) x='x+O('x^30); Vec((1-x)/((1-x)^2-2*x^4)) \\ G. C. Greubel, Feb 03 2018

CROSSREFS

Cf. A007909, A098576.

Sequence in context: A172310 A060939 A174030 * A138035 A032606 A098482

Adjacent sequences:  A098572 A098573 A098574 * A098576 A098577 A098578

KEYWORD

easy,nonn

AUTHOR

Paul Barry, Sep 16 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 15 09:05 EST 2019. Contains 329995 sequences. (Running on oeis4.)