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.

A303864 Array read by antidiagonals: T(n,k) = number of noncrossing path sets on k*n nodes up to rotation with each path having exactly k nodes.

This page as a plain text file.
%I A303864 #13 Jul 04 2018 02:40:35
%S A303864 1,1,1,1,1,1,1,1,1,1,1,3,6,2,1,1,4,36,38,3,1,1,10,210,960,384,6,1,1,
%T A303864 16,1176,18680,35956,4425,14,1,1,36,6328,313664,2280910,1588192,57976,
%U A303864 34,1,1,64,32896,4683168,111925464,323840016,77381016,807318,95,1
%N A303864 Array read by antidiagonals: T(n,k) = number of noncrossing path sets on k*n nodes up to rotation with each path having exactly k nodes.
%H A303864 Andrew Howroyd, <a href="/A303864/b303864.txt">Table of n, a(n) for n = 0..1274</a>
%e A303864 Array begins:
%e A303864 =======================================================
%e A303864 n\k| 1  2     3        4           5              6
%e A303864 ---+---------------------------------------------------
%e A303864 0  | 1  1     1        1           1              1 ...
%e A303864 1  | 1  1     1        3           4             10 ...
%e A303864 2  | 1  1     6       36         210           1176 ...
%e A303864 3  | 1  2    38      960       18680         313664 ...
%e A303864 4  | 1  3   384    35956     2280910      111925464 ...
%e A303864 5  | 1  6  4425  1588192   323840016    46552781760 ...
%e A303864 6  | 1 14 57976 77381016 50668922540 21346459738384 ...
%e A303864 ...
%t A303864 nmax = 10; seq[n_, k_] := Module[{p, q, h}, p = 1 + InverseSeries[ x/(k*2^If[k == 1, 0, k - 3]*(1 + x)^k) + O[x]^n, x ]; h = p /. x -> x^2 + O[x]^n; q = x*D[p, x]/p; Integrate[((p - 1)/k + Sum[EulerPhi[d]*(q /. x -> x^d + O[x]^n), {d, 2, n}])/x, x] + If[OddQ[k], 0, 2^(k/2 - 2)*x*h^(k/2)] + 1];
%t A303864 Clear[col]; col[k_] := col[k] = CoefficientList[seq[nmax, k], x];
%t A303864 T[n_, k_] := col[k][[n + 1]];
%t A303864 Table[T[n - k, k], {n, 0, nmax}, {k, n, 1, -1}] // Flatten (* _Jean-François Alcover_, Jul 04 2018, after _Andrew Howroyd_ *)
%o A303864 (PARI)
%o A303864 seq(n,k)={ \\ gives gf of k'th column
%o A303864 my(p=1 + serreverse( x/(k*2^if(k==1, 0, k-3)*(1 + x)^k) + O(x*x^n) ));
%o A303864 my(h=subst(p,x,x^2+O(x*x^n)), q=x*deriv(p)/p);
%o A303864 intformal( ((p-1)/k + sum(d=2,n,eulerphi(d)*subst(q,x,x^d+O(x*x^n))))/x) + if(k%2, 0, 2^(k/2-2)*x*h^(k/2)) + 1;
%o A303864 }
%o A303864 Mat(vector(6, k, Col(seq(7, k))))
%Y A303864 Columns 2..4 are A002995(n+1), A303865, A303866.
%Y A303864 Row n=1 is A051437(k-3).
%Y A303864 Cf. A302828, A303844, A303869.
%Y A303864 Cf. A295224 (polygon dissections), A303694 (sets of cycles instead of paths).
%K A303864 nonn,tabl
%O A303864 0,12
%A A303864 _Andrew Howroyd_, May 01 2018