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!)
A307158 a(n) = Sum_{k=0..floor(n/3)} (-1)^k * binomial(n,3*k)^2. 2
1, 1, 1, 0, -15, -99, -398, -1175, -2351, 0, 29601, 183195, 756978, 2351805, 4885791, 0, -63746991, -400000275, -1675991918, -5274560891, -11081420615, 0, 147257373891, 931226954949, 3929550225586, 12446852889901, 26304183607651, 0, -353181028924809 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
FORMULA
a(6*n+3) = 0 for n >= 0.
MATHEMATICA
a[n_] := Sum[(-1)^k * Binomial[n, 3*k]^2, {k, 0, Floor[n/3]}]; Array[a, 30, 0] (* Amiram Eldar, May 20 2021 *)
PROG
(PARI) {a(n) = sum(k=0, n\3, (-1)^k*binomial(n, 3*k)^2)}
CROSSREFS
Central coefficients of number triangle A307156.
Sequence in context: A108254 A174383 A341396 * A000973 A034266 A087661
KEYWORD
sign
AUTHOR
Seiichi Manyama, Mar 27 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 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)