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!)
A027267 a(n) = self-convolution of row n of array T given by A026536. 5

%I #11 Apr 12 2022 04:23:08

%S 1,2,8,26,196,692,5774,21142,180772,675344,5837908,22087716,192239854,

%T 733698032,6416509142,24645099530,216309089956,834847581048,

%U 7347943049432,28467646552432,251119894730596,975892708569952,8624336421678788,33600628889991916,297394187356638766

%N a(n) = self-convolution of row n of array T given by A026536.

%H G. C. Greubel, <a href="/A027267/b027267.txt">Table of n, a(n) for n = 0..500</a>

%F a(n) = Sum_{k=0..2*n} A026536(n, k)*A026536(n, 2*n-k). - _G. C. Greubel_, Apr 12 2022

%t T[n_, k_]:= T[n, k]= If[k==0 || k==2*n, 1, If[k==1 || k==2*n-1, Floor[n/2], If[EvenQ[n], T[n-1, k-2] +T[n-1, k-1] +T[n-1, k], T[n-1, k-2] +T[n-1, k]] ]];

%t Table[Sum[T[n,k]*T[n,2*n-k], {k,0,2*n}], {n,0,40}] (* _G. C. Greubel_, Apr 12 2022 *)

%o (SageMath)

%o @CachedFunction

%o def T(n, k): # A026536

%o if k < 0 or n < 0: return 0

%o elif k == 0 or k == 2*n: return 1

%o elif k == 1 or k == 2*n-1: return n//2

%o elif n % 2 == 1: return T(n-1, k-2) + T(n-1, k)

%o return T(n-1, k-2) + T(n-1, k-1) + T(n-1, k)

%o def A027267(n): return sum(T(n,k)*T(n,2*n-k) for k in (0..2*n))

%o [A027267(n) for n in (0..40)] # _G. C. Greubel_, Apr 12 2022

%Y Cf. A026536.

%K nonn

%O 0,2

%A _Clark Kimberling_

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

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 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)