cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A231085 The number of possible ways to arrange the sums x_i + x_j (1 <= i < j <= n) of the items x_1 < x_2 <...< x_n in increasing order provided that all sums are different.

Original entry on oeis.org

1, 1, 1, 1, 2, 12, 168, 4680
Offset: 0

Views

Author

Vladimir Letsko, Nov 03 2013

Keywords

Comments

For n<=5, a(n) = A231074(n), but for n>5, a(n) < A231074(n). For instance, let n = 6 and a < b < c < d < e < f. Then the arrangement a+b <= a+c <= a+d <= a+e <= b+c <= b+d <= a+f <= b+e <= b+f <= c+d <= c+e <= c+f <= d+e <= d+f <= e+f is possible (e.g., for a = 1, b = 5, c = 9, d = 12, e=13, f = 16), while the same arrangement with "<" instead of "<=" is not possible.

Examples

			Let a < b < c < d. There are two possible ways to arrange the sums in increasing order:
1) a+b < a+c < a+d < b+c < b+d < c+d, (for instance, a = 1, b = 3, c = 4, d = 5);
2) a+b < a+c < b+c < a+d < b+d < c+d, (for instance, a = 1, b = 2, c = 3, d = 5).
Hence a(4) = 2.
		

Crossrefs

Extensions

a(7) from Anton Nikonov, Feb 07 2014
Edited and a(0)=1 prepended by Max Alekseyev, Feb 19 2014
a(7) corrected by Max Alekseyev, Apr 02 2024