A141599 Number of difference sets for permutations of [2n] with distinct differences.
1, 2, 4, 24, 288, 3856, 89328, 2755968, 103653120
Offset: 1
Links
- Zackary Baker, Properties and Calculations of Constructive Orderings of Z/nZ, Minnesota J. of Undergrad. Math. (2018-2019) Vol. 4, No. 1, see p. 9.
- E. N. Gilbert, Latin squares which contain no repeated digrams, SIAM Rev. 7 1965 189--198. MR0179095 (31 #3346). Mentions this sequence. - _N. J. A. Sloane_, Mar 15 2014
- Milan Gustar, More information
- Milan Gustar, Programs and data
Programs
-
Mathematica
A141599[n_] := With[{s = Join[{1}, #[[ ;; n - 1]], {2 n}, #[[n ;;]]] & /@ Permutations@Range[2, 2 n - 1], mcts = Mod[Differences@Ordering@#, 2 n] &}, Count[mcts /@ s, ?DuplicateFreeQ, 1]]; (* _Leo C. Stein, Nov 26 2016 *)
Extensions
Edited by N. J. A. Sloane, Mar 15 2014
a(9) from David V. Feldman, Apr 09 2018
Definition corrected by Zack Baker, Jul 04 2018
Comments