OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..190
FORMULA
a(n) = 2*A142458(2*n, n)/(n+1).
MATHEMATICA
T[n_, k_, m_]:= T[n, k, m]= If[k==1 || k==n, 1, (m*n-m*k+1)*T[n-1, k-1, m] + (m*k-m+ 1)*T[n-1, k, m]];
a[n_]:= 2*T[2*n, n, 3]/(n+1);
Table[a[n], {n, 30}] (* modified by G. C. Greubel, Mar 14 2022 *)
PROG
(Sage)
@CachedFunction
def T(n, k, m): # A142458
if (k==1 or k==n): return 1
else: return (m*(n-k)+1)*T(n-1, k-1, m) + (m*k-m+1)*T(n-1, k, m)
[2*T(2*n, n, 3)/(n+1) for n in (1..30)] # G. C. Greubel, Mar 14 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Nov 19 2010
EXTENSIONS
Name corrected and more terms added by G. C. Greubel, Mar 14 2022
STATUS
approved