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!)
A360186 a(n) = Sum_{k=0..floor(n/3)} (-1)^k * binomial(2*n-6*k,n-3*k). 5
1, 2, 6, 19, 68, 246, 905, 3364, 12624, 47715, 181392, 692808, 2656441, 10219208, 39423792, 152461079, 590861182, 2294182428, 8922674221, 34754402618, 135552346392, 529335200219, 2069344561102, 8097878381208, 31718268482881, 124341261876650 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: 1 / ( sqrt(1-4*x) * (1 + x^3) ).
a(n) ~ 2^(2*n + 6) / (65*sqrt(Pi*n)). - Vaclav Kotesovec, Jan 29 2023
D-finite with recurrence n*a(n) +2*(-2*n+1)*a(n-1) +n*a(n-3) +2*(-2*n+1)*a(n-4)=0. - R. J. Mathar, Mar 12 2023
a(n)+a(n-3) = A000984(n). - R. J. Mathar, Mar 12 2023
MAPLE
A360186 := proc(n)
add((-1)^k*binomial(2*n-6*k, n-3*k), k=0..n/3) ;
end proc:
seq(A360186(n), n=0..70) ; # R. J. Mathar, Mar 12 2023
MATHEMATICA
Table[Sum[(-1)^k Binomial[2n-6k, n-3k], {k, 0, Floor[n/3]}], {n, 0, 30}] (* Harvey P. Dale, Mar 05 2023 *)
PROG
(PARI) a(n) = sum(k=0, n\3, (-1)^k*binomial(2*n-6*k, n-3*k));
(PARI) my(N=30, x='x+O('x^N)); Vec(1/(sqrt(1-4*x)*(1+x^3)))
CROSSREFS
Sequence in context: A148471 A007721 A150099 * A150100 A150101 A150102
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Jan 29 2023
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 May 2 09:45 EDT 2024. Contains 372180 sequences. (Running on oeis4.)