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!)
A307044 a(n) = Sum_{k=0..floor(n/8)} (-1)^k*binomial(n,8*k). 2
1, 1, 1, 1, 1, 1, 1, 1, 0, -8, -44, -164, -494, -1286, -3002, -6434, -12868, -24292, -43604, -74612, -121124, -183140, -245156, -245156, 0, 961376, 3749136, 10814896, 27293176, 63453016, 138975976, 290021896, 580043792, 1114351888, 2054677648, 3619173776 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,10
LINKS
FORMULA
G.f.: (1 - x)^7/((1 - x)^8 + x^8).
a(n) = 8*a(n-1) - 28*a(n-2) + 56*a(n-3) - 70*a(n-4) + 56*a(n-5) - 28*a(n-6) + 8*a(n-7) - 2*a(n-8) for n > 7.
MATHEMATICA
a[n_] := Sum[(-1)^k * Binomial[n, 8*k], {k, 0, Floor[n/8]}]; Array[a, 36, 0] (* Amiram Eldar, May 25 2021 *)
PROG
(PARI) {a(n) = sum(k=0, n\8, (-1)^k*binomial(n, 8*k))}
(PARI) N=66; x='x+O('x^N); Vec((1-x)^7/((1-x)^8+x^8))
CROSSREFS
Column 8 of A307039.
Cf. A306859.
Sequence in context: A036464 A000938 A252871 * A165618 A250285 A059596
KEYWORD
sign,easy
AUTHOR
Seiichi Manyama, Mar 21 2019
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 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)