cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A127060 Row sums of triangle A127058.

This page as a plain text file.
%I A127060 #13 Jun 18 2019 05:59:22
%S A127060 1,4,19,132,1253,14808,206503,3298552,59220265,1179047100,25767347387,
%T A127060 613141219356,15780105110605,436801028784112,12941788708753999,
%U A127060 408718346076189360,13707898517284016849,486640514520848512692
%N A127060 Row sums of triangle A127058.
%H A127060 G. C. Greubel, <a href="/A127060/b127060.txt">Table of n, a(n) for n = 0..400</a>
%t A127060 T[n_, k_]:=T[n, k]=If[k==n, n+1, Sum[T[j+k,k]*T[n-j,k+1], {j,0,n-k-1}]];
%t A127060 Table[Sum[T[n, j], {j,0,n}], {n,0,20}] (* _G. C. Greubel_, Jun 08 2019 *)
%o A127060 (PARI) getT(n, k, T) = if (!T[n+1,k+1], T[n+1, k+1] = sum(j=0, n-k-1, getT(j+k, k, T)*getT(n-j, k+1, T))); T[n+1, k+1];
%o A127060 tabl(nn) = {my(T = matrix(nn+1, nn+1)); for (i=1, nn+1, T[i, i] = i); for (i=0, nn, for (j=0, i, T[i+1, j+1] = getT(i, j, T); ); ); T; } /* A127059 */
%o A127060 lista(nn) = {my(T = tabl(nn)); vector(nn, k, vecsum(T[k, ]));}
%o A127060 lista(20) \\ _Michel Marcus_, Jun 09 2019
%o A127060 (Sage)
%o A127060 @CachedFunction
%o A127060 def T(n, k):
%o A127060     if (k==n): return n+1
%o A127060     else: return sum(T(j+k, k)*T(n-j, k+1) for j in (0..n-k-1))
%o A127060 def a(n): return sum(T(n,j) for j in (0..n))
%o A127060 [a(n) for n in (0..20)] # _G. C. Greubel_, Jun 08 2019
%Y A127060 Cf. A127058, A127059.
%K A127060 nonn
%O A127060 0,2
%A A127060 _Paul D. Hanna_, Jan 04 2007
%E A127060 a(17) corrected by _G. C. Greubel_, Jun 08 2019