%I #46 Jul 21 2021 10:10:00
%S 0,0,0,0,35,210,1596,12992,118863,1202870,13361392,161638752,
%T 2115684259,29792671818,449145795900,7217975402752,123180993414207,
%U 2224874726830638,42402252681323840,850380681002034880,17902407539998807875,394741856473979171586,9097740802923890621468
%N a(n) is the number of permutations w of [n] with no w(i)+1 == w(i+1) (mod n) that are not simply cyclic permutations of the numbers 1 to n in backwards order.
%F a(n) = A167760(n) - n for n >= 3.
%F a(n) = max(0, A167760(n) - n).
%Y Cf. A167760.
%K nonn
%O 1,5
%A _J. Lowell_, Jun 21 2021