login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

a(n) = Sum_{k=0..n-1} T(n,k) * T(n,2n-k), with T given by A027023.
2

%I #13 Nov 05 2019 01:00:44

%S 1,4,11,52,225,920,3695,14464,55593,210776,789995,2933380,10807625,

%T 39556316,143958335,521340016,1879901265,6753038624,24176722555,

%U 86294777316,307179518193,1090771084252,3864614381391,13664531314176,48225146757337,169905685271956,597661852713467

%N a(n) = Sum_{k=0..n-1} T(n,k) * T(n,2n-k), with T given by A027023.

%H G. C. Greubel, <a href="/A027042/b027042.txt">Table of n, a(n) for n = 1..1000</a>

%p T:= proc(n, k) option remember;

%p if k<3 or k=2*n then 1

%p else add(T(n-1, k-j), j=1..3)

%p fi

%p end:

%p seq(add(T(n,k)*T(n,2*n-k), k=0..n-1), n=1..30); # _G. C. Greubel_, Nov 04 2019

%t T[n_, k_]:= T[n, k]= If[k<3 || k==2*n, 1, Sum[T[n-1, k-j], {j,3}]]; Table[Sum[T[n,k]*T[n,2*n-k], {k,0,n-1}], {n,30}] (* _G. C. Greubel_, Nov 04 2019 *)

%o (Sage)

%o @CachedFunction

%o def T(n, k):

%o if (k<3 or k==2*n): return 1

%o else: return sum(T(n-1, k-j) for j in (1..3))

%o [sum(T(n, k)*T(n,2*n-k) for k in (0..n-1)) for n in (1..30)] # _G. C. Greubel_, Nov 04 2019

%K nonn

%O 1,2

%A _Clark Kimberling_

%E More terms from _Sean A. Irvine_, Oct 22 2019