|
|
A282847
|
|
Given n people seated at a table, a(n) is the minimum number of swaps that must occur in order for everybody to have sat next to every other person.
|
|
0
|
|
|
0, 0, 0, 1, 3, 4, 4, 6, 8, 10, 12, 14, 17, 20
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,5
|
|
COMMENTS
|
a(n) >= ceiling(n(n-3)/8).
|
|
LINKS
|
|
|
EXAMPLE
|
For n = 7 the a(7) = 4 swaps are:
(1) 1 swaps with 4,
(2) 1 swaps with 5,
(3) 3 swaps with 6, and then
(4) 2 swaps with 6.
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,hard,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|