OFFSET
0,2
COMMENTS
LINKS
Lily Yen, Table of n, a(n) for n = 0..99
Lily Yen, Crossings and Nestings for Arc-Coloured Permutations and Arc-coloured permutations, PSAC 2013, Paris, France, June 24-28, Proc. DMTCS (2013) 743-754.
Index entries for linear recurrences with constant coefficients, signature (40,-508,2304,-2880).
FORMULA
G.f.: (1-36*x+380*x^2-1200*x^3+576*x^4)/((1-2*x)*(1-6*x)*(1-12*x)*(1-20*x)).
a(n) = 2^(n-1)*(20*3^n+7*6^n+10^n+28)/35 for n>0, a(0)=1. [Bruno Berselli, Apr 26 2013]
EXAMPLE
For n=3, a(3)=352, the number of ways to color arcs of a permutation on 3 elements in 4 colors so that arcs of the same color do not cross nor nest.
MATHEMATICA
Join[{1}, LinearRecurrence[{40, -508, 2304, -2880}, {4, 32, 352, 4736}, 20]] (* Jean-François Alcover, Jul 22 2018 *)
PROG
(PARI) Vec((1-36*x+380*x^2-1200*x^3+576*x^4)/((1-2*x)*(1-6*x)*(1-12*x)*(1-20*x)) +O(x^66)) \\ Joerg Arndt, Apr 24 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Lily Yen, Apr 24 2013
STATUS
approved