A174085 Number of permutations of length n with no consecutive triples i,...i+r,...i+2r for all positive and negative r, and for all equal spacings d.
1, 1, 2, 4, 18, 72, 396, 2328, 17050, 131764, 1199368, 11379524, 123012492, 1386127700, 17450444866, 227152227940
Offset: 0
Examples
a(3) = 4; 123 and 321 each contain a 3-term arithmetic progression. Since the only possibilities for progressions for n=4 are d=1 and r=1 and -1, we get the same term as A095816(4).
Crossrefs
Formula
a(n) >= A003407(n) with equality only for n in {0, 1, 2, 3}.
Extensions
a(0)-a(3) and a(10)-a(13) from David Bevan, Jun 16 2021
a(14)-a(15) from Bert Dobbelaere, May 18 2025
Comments