login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A320334
Number of ways to group the first 2*n positive integers into n pairs (xi, yi) with xi < yi, and such that the n numbers (yi - xi) mod n are all different.
1
1, 1, 0, 3, 12, 25, 0, 475, 5352, 17157, 0, 896535, 15083680, 68879713, 0
OFFSET
0,4
COMMENTS
A variant of A060963, a(n) <= A060963(n) by definition.
EXAMPLE
a(3) = 3 because {(1,4), (2,6), (3,5)}, {(1,5), (2,4), (3,6)}, {(1,6), (2,5), (3,4)} are corresponding sets.
PROG
(C++) See Links section.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Altug Alkan, Oct 11 2018
EXTENSIONS
Terms computed by Rémy Sigrist, Oct 11 2018
STATUS
approved