OFFSET
1,2
COMMENTS
FORMULA
MAPLE
A227505 := proc(n) local k, T; T := proc(n, k) option remember; if n=1 then return(1) fi; if k<n then return(0) fi; T(n, k-1)+T(n-1, k-1)+T(n-1, k) end; add(T(n-2*k+2, n-k+3), k=1..iquo(n+1, 2)) end: seq(A227505(n), n = 1..23);
A227505 := proc(n): A006603(n+3) - A006318(n+3) - A006319(n+2) end: A006603 := n -> add((k*add(binomial(n-k+2, i)*binomial(2*n-3*k-i+3, n-k+1), i= 0.. n-2*k+2))/(n-k+2), k= 1.. n/2+1): A006318 := n -> add(binomial(n+k, n-k) * binomial(2*k, k)/(k+1), k=0..n): A006319 := proc(n): if n=0 then 1 else A006318(n) - A006318(n-1) fi: end: seq(A227505(n), n=1..23);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Johannes W. Meijer, Jul 15 2013
STATUS
approved