OFFSET
1,4
LINKS
Robert Israel, Table of n, a(n) for n = 1..3325
FORMULA
a(n) = Sum_{k=1..floor(n/3)} binomial(floor((n-1)/3), 3*k)*binomial(ceiling(2*(n-1)/3), 2*k). - Robert Israel, Feb 05 2017
MAPLE
f:= n -> add(binomial(floor((n-1)/3), k/3)*binomial(n-floor((n-1)/3),
2*k/3), k=3..n, 3):
map(f, [$1..100]); # Robert Israel, Feb 05 2017
PROG
(PARI) a(n)=sum(k=1, n\3, binomial((n-1)\3, k)*binomial(n-(n-1)\3, 2*k)) \\ Charles R Greathouse IV, Feb 05 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved