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!)
A027269 a(n) = Sum_{k=0..2n-2} T(n,k) * T(n,k+2), with T given by A026536. 4

%I #14 Apr 12 2022 04:19:56

%S 1,5,19,150,561,4797,18089,156900,596674,5205950,19932353,174609162,

%T 672106267,5906040623,22829936683,201114700568,780077588440,

%U 6885880226784,26784015828458,236826459554380,923352937530146,8175978023317170,31940549289135429,283166067626865540

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

%H G. C. Greubel, <a href="/A027269/b027269.txt">Table of n, a(n) for n = 1..500</a>

%F a(n) = Sum_{k=0..2n-2} A026536(n,k) * A026536(n,k+2).

%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,k+2], {k,0,2*n-2}], {n,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 A027269(n): return sum(T(n,k)*T(n,k+2) for k in (0..2*n-2))

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

%Y Cf. A026536, A027267, A027268, A027270.

%K nonn

%O 1,2

%A _Clark Kimberling_

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

%E a(1) = 1 prepended by _G. C. Greubel_, Apr 12 2022

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 24 04:14 EDT 2024. Contains 371918 sequences. (Running on oeis4.)