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!)
A348309 a(n) = Sum_{k=0..floor(n/8)} (-1)^k * binomial(n-4*k,4*k). 3
1, 1, 1, 1, 1, 1, 1, 1, 0, -4, -14, -34, -69, -125, -209, -329, -493, -705, -955, -1199, -1324, -1092, -56, 2560, 8025, 18313, 36353, 66273, 113525, 184653, 286257, 422377, 589028, 763912, 888378, 837502, 372835, -928725, -3776537, -9302337, -19226889, -36034869, -63099331, -104630831, -165212760 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,10
LINKS
FORMULA
G.f.: (1-x)^3/((1-x)^4 + x^8).
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) - a(n-8).
MATHEMATICA
LinearRecurrence[{4, -6, 4, -1, 0, 0, 0, -1}, {1, 1, 1, 1, 1, 1, 1, 1}, 45] (* Amiram Eldar, Oct 11 2021 *)
PROG
(PARI) a(n) = sum(k=0, n\8, (-1)^k*binomial(n-4*k, 4*k));
(PARI) my(N=66, x='x+O('x^N)); Vec((1-x)^3/((1-x)^4+x^8))
CROSSREFS
Sequence in context: A366086 A099586 A253001 * A063258 A178964 A362342
KEYWORD
sign,easy
AUTHOR
Seiichi Manyama, Oct 11 2021
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 June 5 18:11 EDT 2024. Contains 373107 sequences. (Running on oeis4.)