Max Alekseyev, <a href="/A174072/b174072_1.txt">Table of n, a(n) for n = 0..100</a>
Max Alekseyev, <a href="/A174072/b174072_1.txt">Table of n, a(n) for n = 0..100</a>
editing
approved
Max Alekseyev, <a href="/A174072/b174072_1.txt">Table of n, a(n) for n = 0..100</a>
approved
editing
proposed
approved
editing
proposed
b[s_, x_, y_] := b[s, x, y] = If[s == {}, 1, Sum[
If[x == 0 || x - y != 2 || y - j != 2,
b[s ~Complement~ {j}, y, j], 0], {j, s}]];
a[n_] := b[Range[n], 0, 0];
Table[a[n], {n, 0, 14}] (* Jean-François Alcover, Mar 02 2022, after Alois P. Heinz *)
approved
editing
editing
approved
Wayne M. Dymacek, Isaac Lambert and Kyle Parsons, Arithmetic Progressions in Permutations, http://math.ku.edu/~ilambert/CN.pdf, 2012.
Wayne M. Dymacek, Isaac Lambert and Kyle Parsons, <a href="http://math.ku.edu/~ilambert/CN.pdf">Arithmetic Progressions in Permutations</a>, 2012. [broken link]
approved
editing
editing
approved
1, 1, 2, 6, 24, 114, 674, 4714, 37754, 340404, 3412176, 37631268, 452745470, 5900431012, 82802497682, 1244815252434, 19958707407096, 339960096280062, 6130407887839754, 116675071758609742, 2337186717333367706, 49153251967227002616, 1082860432463176004544
nonn,more,changed
a(12)-a(2122) from Alois P. Heinz, Apr 13 2021