login
A371437
Number of intersection points formed by drawing all least squares regression lines fitted to n points (j,y_j), 0 <= j < n, where each y_j is 0 or 1.
3
5, 16, 51, 154, 395, 932, 1951, 3844, 7025, 12268, 20337, 32546, 50251, 75590, 110675, 158580, 222435, 306720, 415865, 556060, 733371, 956056, 1232091, 1572036
OFFSET
2,1
COMMENTS
The lines extend indefinitely in both directions, so the intersection points may lie outside the strip 0 <= x <= n-1.
LINKS
Pontus von Brömssen, Illustration for n = 2.
Pontus von Brömssen, Illustration for n = 3.
Pontus von Brömssen, Illustration for n = 4.
Pontus von Brömssen, Illustration for n = 5.
CROSSREFS
Sequence in context: A317817 A077840 A007343 * A274492 A147536 A347434
KEYWORD
nonn,more
AUTHOR
STATUS
approved