login
A371438
Number of (finite) line segments 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.
2
6, 26, 106, 330, 894, 2106, 4490, 8838, 16270, 28378, 47224, 75558, 116914, 175802, 257658, 369122, 518174, 714474, 969236, 1295946, 1709766, 2228746, 2872862, 3665350
OFFSET
2,1
COMMENTS
All terms are even.
The number of half-infinite line segments formed is 2*A000125(n) (twice the number of distinct lines).
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
KEYWORD
nonn,more
AUTHOR
STATUS
approved