OFFSET
0,5
COMMENTS
a(n) is the number of ways to pair the natural numbers from 1 to n with those between n+1 and 2*n into n pairs (xi,yi) such that the 2*n numbers yi+xi and yi-xi are all different. - Michel Marcus, Apr 27 2016 [Corrected by Martin Fuller, Nov 29 2025]
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Jordan Bell and Brett Stevens, A survey of known results and research areas for n-queens, Discrete Mathematics, Volume 309 (2009), pp 1-31.
Martin Gardner, Fractal Music, Hypercards and More, Freeman, NY, 1991, p. 240.
G. B. Huff, On pairings of the first 2n natural numbers, Acta. Arith. 23 (1973) 117-126.
D. A. Klarner, The Problem of Reflecting Queens, The American Mathematical Monthly, Vol. 74, No. 8 (Oct., 1967), pp. 953-955.
M. Slater, Number theory Research Problem 1, Bull. Amer. Math. Soc. 69 (1963), 333.
EXAMPLE
For n = 4, ((1,7), (2,5), (3,8), (4,6)) is an instance of such grouping. ((2,5), (1,7), (3,8), (4,6)) is considered to be the same grouping.
PROG
(PARI) a(n) = {nb = 0; for (j=0, n!-1, vp = numtoperm(n, j); vb = vector(n, k, vp[k]+n); vs = vector(n, k, vb[k]+k); vd = vector(n, k, vb[k]-k); if (#vs + #vd == #Set(concat(vs, vd)), nb++); ); nb; } \\ Michel Marcus, Apr 27 2016
CROSSREFS
KEYWORD
nonn,nice,more
AUTHOR
EXTENSIONS
a(18)-a(21) from Sean A. Irvine, Jan 13 2018
a(0)-a(3) prepended by Michel Marcus, Oct 03 2018
a(22) from Sean A. Irvine, Oct 04 2018
a(23) from Sean A. Irvine, Oct 07 2018
a(24) from Martin Fuller, Nov 29 2025
a(25) from Martin Fuller, Nov 30 2025
STATUS
approved
