The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A055451 Row sums of array in A055450. 6
1, 4, 13, 47, 173, 678, 2735, 11378, 48279, 208410, 911571, 4031919, 17999628, 81000573, 367040404, 1673295419, 7669312343, 35319197637, 163350479756, 758406642839, 3533447414030, 16514820417166, 77412170863861 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = Sum_{k=0..n} A055450(n, k). - G. C. Greubel, Jan 29 2024
MATHEMATICA
T[n_, 0]:= 1; T[n_, k_]:= T[n, k]= If[1<=k<n/2, T[n-1, k-1] + T[n-1, k], If[k==n/2, T[n-2, k-1] + T[n-1, k-1], T[n+1, k] + T[n-1, k-1]]];
A055451[n_]:= A055451[n]= Sum[T[n, k], {k, 0, n}];
Table[A055451[n], {n, 0, 40}] (* G. C. Greubel, Jan 29 2024 *)
PROG
(Magma)
B:=Binomial; G:=Gamma; F:=Factorial;
p:= func< n, k, j | B(n-2*k+j-1, j)*G(n-k+j+3/2)/(F(j)*G(n-k+3/2)*B(n-k+j+2, j)) >;
f:= func< n, k | (n-k+1)*Binomial(n+k, k)/(n+1) >;
function T(n, k) // T = A055450
if k lt n/2 then return f(n-k+1, k);
else return Round(Catalan(n-k+1)*(&+[p(n, k, j)*(-4)^j: j in [0..n]]));
end if;
end function;
A055451:= func< n | (&+[T(n, k): k in [0..n]]) >;
[A055451(n): n in [0..40]]; // G. C. Greubel, Jan 29 2024
(SageMath)
def f(n, k): return (n-k+1)*binomial(n+k, k)/(n+1)
def T(n, k): # T = A055450
if k<n/2: return f(n-k+1, k)
else: return round(catalan_number(n-k+1)*hypergeometric([n-2*k, (3+2*(n-k))/2], [3+n-k], -4))
def A055451(n): return sum(T(n, k) for k in range(n+1))
[A055451(n) for n in range(41)] # G. C. Greubel, Jan 30 2024
CROSSREFS
Sequence in context: A363547 A017944 A017945 * A163862 A149440 A149441
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 18 2000
STATUS
approved

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 May 13 23:15 EDT 2024. Contains 372524 sequences. (Running on oeis4.)