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.
%I A084938 #138 Jan 18 2024 05:57:18 %S A084938 1,0,1,0,1,1,0,2,2,1,0,6,5,3,1,0,24,16,9,4,1,0,120,64,31,14,5,1,0,720, %T A084938 312,126,52,20,6,1,0,5040,1812,606,217,80,27,7,1,0,40320,12288,3428, %U A084938 1040,345,116,35,8,1,0,362880,95616,22572,5768,1661,519,161,44,9,1 %N A084938 Triangle read by rows: T(n,k) = Sum_{j>=0} j!*T(n-j-1, k-1) for n >= 0, k >= 0. %C A084938 Triangle T(n,k) is [0,1,1,2,2,3,3,4,4,...] DELTA [1,0,0,0,0,0,...] = A110654 DELTA A000007. %C A084938 In general, the triangle [r_0,r_1,r_2,r_3,...] DELTA [s_0,s_1,s_2,s_3,...] has generating function 1/(1-(r_0*x+s_0*x*y)/(1-(r_1*x+s_1*x*y)/(1-(r_2*x+s_2*x*y)/(1-(r_3*x+s_3*x*y)/(1-...(continued fraction). See also the Formula section below. %C A084938 T(n,k) = number of permutations on [n] that (i) contain a 132 pattern only as part of a 4132 pattern and (ii) start with n+1-k. For example, for n >= 1, T(n,1) = (n-1)! counts all (n-1)! permutations on [n] that start with n: either they avoid 132 altogether or the initial entry serves as the "4" in a 4132 pattern and T(4,3) = 3 counts 2134, 2314, 2341. - _David Callan_, Jul 20 2005 %C A084938 T(n,k) is the number of permutations on [n] that (i) contain a (scattered) 342 pattern only as part of a 1342 pattern and (ii) contain 1 in position k. For example, T(4,3) counts 3214, 4213, 4312. (It does not count, say, 2314 because 231 forms an offending 342 pattern.) - _David Callan_, Jul 20 2005 %C A084938 Riordan array (1,x*g(x)) where g(x) is the g.f. of the factorials (n!). - _Paul Barry_, Sep 25 2008 %C A084938 Modulo 2, this sequence becomes A106344. %C A084938 T(n,k) is the number of permutations of {1,2,...,n} having k cycles such that the elements of each cycle of the permutation form an interval. - _Ran Pan_, Nov 11 2016 %C A084938 The convolution triangle of the factorial numbers. - _Peter Luschny_, Oct 09 2022 %H A084938 T. D. Noe, <a href="/A084938/b084938.txt">Rows n = 0..100 of triangle, flattened</a> %H A084938 Paul Barry, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL12/Barry2/barry73.html">A Note on a One-Parameter Family of Catalan-Like Numbers</a>, JIS 12 (2009) 09.5.4. %H A084938 Paul Barry, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL12/Barry3/barry93.html">Continued fractions and transformations of integer sequences</a>, JIS 12 (2009), Article 09.7.6. %H A084938 Paul Barry, <a href="https://arxiv.org/abs/2101.06713">On the inversion of Riordan arrays</a>, arXiv:2101.06713 [math.CO], 2021. %H A084938 Paul Barry and A. Hennessy, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL14/Barry2/barry126.html">A Note on Narayana Triangles and Related Polynomials, Riordan Arrays, and MIMO Capacity Calculations</a>, J. Int. Seq. 14 (2011), Article 11.3.8. %H A084938 David Callan, <a href="http://arxiv.org/abs/math/0507169">A combinatorial interpretation of the eigensequence for composition</a>, arXiv:math/0507169 [math.CO], 2005. %H A084938 David Callan, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL9/Callan/callan96.html">A Combinatorial Interpretation of the Eigensequence for Composition</a>, Journal of Integer Sequences, Vol. 9 (2006), Article 06.1.4. %H A084938 H. Fuks and J. M. G. Soto, <a href="http://arxiv.org/abs/1306.1189">Exponential convergence to equilibrium in cellular automata asymptotically emulating identity</a>, arXiv preprint arXiv:1306.1189 [nlin.CG], 2013. %H A084938 Sergey Kitaev and Philip B. Zhang, <a href="https://arxiv.org/abs/1811.07679">Distributions of mesh patterns of short lengths</a>, arXiv:1811.07679 [math.CO], 2018. %H A084938 Peter Luschny, <a href="http://oeis.org/wiki/User:Peter_Luschny/SequenceTransformations">Transformations of integer sequences</a>. %H A084938 R. J. Mathar, <a href="/A084938/a084938.pdf">Properties of Deleham's Delta Transformation: OEIS A084938</a> %F A084938 The operator DELTA takes two sequences r = (r_0, r_1, ...), s = (s_0, s_1, ...) and produces a triangle T(n, k), 0 <= k <= n, as follows: %F A084938 Let q(k) = x*r_k + y*s_k for k >= 0; let P(n, k) (n >= 0, k >= -1) be defined recursively by P(0, k) = 1 for k >= 0; P(n, -1) = 0 for n >= 1; P(n, k) = P(n, k-1) + q(k)*P(n-1, k+1) for n >= 1, k >= 0. Then P(n, k) is a homogeneous polynomial in x and y of degree n and T(n, k) = coefficient of x^(n-k)*y^k in P(n, 0). %F A084938 T(n, n) = 1. %F A084938 T(k+1, k) = A001477(k). %F A084938 T(k+2, k) = A000096(k). %F A084938 T(n+1, 1) = A000142(n). %F A084938 T(n+2, 2) = A003149(n). %F A084938 T(n+3, 3) = A090595(n). %F A084938 T(n+4, 4) = A090319(n). %F A084938 T(m+n, m) = Sum_{k=0..n} A090238(n, k)*binomial(m, k). %F A084938 G.f. for column k: Sum_{n>=0} T(k+n, k)*x^n = (Sum_{n>=0} n!*x^n )^k. %F A084938 For k>0, T(n+k, k) = Sum_{a_1 + a_2 + .. + a_k = n} (a_1)!*(a_2)!*..*(a_k)!; a_i>=0, n>=0. %F A084938 T(n,k) = Sum_{j>=0} A075834(j)*T(n-1,k+j-1). %F A084938 T(2n,n) = A287899(n). - _Alois P. Heinz_, Jun 02 2017 %F A084938 From _G. C. Greubel_, Nov 10 2022: (Start) %F A084938 Sum_{k=0..n} T(n, k) = A051295(n). %F A084938 Sum_{k=0..n} (-1)^k*T(n, k) = [n=0] - A052186(n-1)*[n>0]. (End) %e A084938 From _Paul Barry_, Sep 25 2008: (Start) %e A084938 Triangle [0,1,1,2,2,3,3,4,4,5,5,...] DELTA [1,0,0,0,0,...] begins %e A084938 1; %e A084938 0, 1; %e A084938 0, 1, 1; %e A084938 0, 2, 2, 1; %e A084938 0, 6, 5, 3, 1; %e A084938 0, 24, 16, 9, 4, 1; %e A084938 0, 120, 64, 31, 14, 5, 1; %e A084938 0, 720, 312, 126, 52, 20, 6, 1; %e A084938 0, 5040, 1812, 606, 217, 80, 27, 7, 1; %e A084938 0, 40320, 12288, 3428, 1040, 345, 116, 35, 8, 1; %e A084938 0, 362880, 95616, 22572, 5768, 1661, 519, 161, 44, 9, 1. (End) %e A084938 From _Paul Barry_, May 14 2009: (Start) %e A084938 The production matrix is %e A084938 0, 1; %e A084938 0, 1, 1; %e A084938 0, 1, 1, 1; %e A084938 0, 2, 1, 1, 1; %e A084938 0, 7, 2, 1, 1, 1; %e A084938 0, 34, 7, 2, 1, 1, 1; %e A084938 0, 206, 34, 7, 2, 1, 1, 1; %e A084938 which is based on A075834. (End) %p A084938 DELTA := proc(r,s,n) local T,x,y,q,P,i,j,k,t1; T := array(0..n,0..n); %p A084938 for i from 0 to n do q[i] := x*r[i+1]+y*s[i+1]; od: for k from 0 to n do P[0,k] := 1; od: for i from 0 to n do P[i,-1] := 0; od: %p A084938 for i from 1 to n do for k from 0 to n do P[i,k] := sort(expand(P[i,k-1] + q[k]*P[i-1,k+1])); od: od: %p A084938 for i from 0 to n do t1 := P[i,0]; for j from 0 to i do T[i,j] := coeff(coeff(t1,x,i-j),y,j); od: lprint( seq(T[i,j],j=0..i) ); od: end; %p A084938 # To produce the current triangle: s3 := n->floor((n+1)/2); s4 := n->if n = 0 then 1 else 0; fi; r := [seq(s3(i),i= 0..40)]; s := [seq(s4(i),i=0..40)]; DELTA(r,s,20); %p A084938 # Uses function PMatrix from A357368. %p A084938 PMatrix(10, n -> factorial(n - 1)); # _Peter Luschny_, Oct 09 2022 %t A084938 a[0, 0] = 1; a[n_, k_] := a[n, k] = Sum[j! a[n - j - 1, k - 1], {j, 0, n - 1}]; Flatten[Table[a[i, j], {i, 0, 10}, {j, 0, i}]] (* _T. D. Noe_, Feb 22 2012 *) %t A084938 DELTA[r_, s_, m_] := Module[{p, q, t, x, y}, q[k_] := x*r[[k+1]] + y*s[[k+1]]; p[0, _] = 1; p[_, -1] = 0; p[n_ /; n >= 1, k_ /; k >= 0] := p[n, k] = p[n, k-1] + q[k]*p[n-1, k+1] // Expand; t[n_, k_] := Coefficient[p[n, 0], x^(n-k)*y^k]; t[0, 0] = p[0, 0]; Table[t[n, k], {n, 0, m}, {k, 0, n}]]; DELTA[Floor[Range[10]/2], Prepend[Table[0, {10}], 1], 10] (* _Jean-François Alcover_, Sep 12 2013, after _Philippe Deléham_ *) %o A084938 (Sage) %o A084938 def delehamdelta(R, S) : %o A084938 L = min(len(R), len(S)) + 1 %o A084938 ring = PolynomialRing(ZZ, 'x') %o A084938 x = ring.gen() %o A084938 A = [Rk + x*Sk for Rk, Sk in zip(R, S)] %o A084938 C = [ring(0)] + [ring(1) for i in range(L)] %o A084938 for k in (1..L) : %o A084938 for n in range(k-1,0,-1) : %o A084938 C[n] = C[n-1] + C[n+1]*A[n-1] %o A084938 yield list(C[1]) %o A084938 def A084938_triangle(n) : %o A084938 for row in delehamdelta([(i+1)//2 for i in (0..n)], [0^i for i in (0..n)]): %o A084938 print(row) %o A084938 A084938_triangle(10) # _Peter Luschny_, Jan 28 2012 %o A084938 (Magma) %o A084938 function T(n,k) // T = A084938 %o A084938 if k lt 0 or k gt n then return 0; %o A084938 elif n eq 0 or k eq n then return 1; %o A084938 elif k eq 0 then return 0; %o A084938 else return (&+[Factorial(j)*T(n-j-1,k-1): j in [0..n-1]]); %o A084938 end if; return T; %o A084938 end function; %o A084938 [T(n,k): k in [0..n], n in [0..12]]; // _G. C. Greubel_, Nov 10 2022 %Y A084938 Cf. A003149, A051295 (row sums), A052186, A090238, %Y A084938 Cf. A287899. %Y A084938 Columns: A000007, A000142, A003149, A090595, A090319. %Y A084938 Diagonals: A000012, A001477, A000096, A092286, A090386, A090391, A090392, A090393, A090394. %K A084938 nonn,tabl %O A084938 0,8 %A A084938 _Philippe Deléham_, Jul 16 2003; corrections Dec 17 2008, Dec 20 2008, Feb 05 2009 %E A084938 Name edited by _Derek Orr_, May 01 2015