OFFSET
1,2
COMMENTS
The rays are evenly spaced around each point. The first ray of one point goes opposite to the direction to the other point. Should a ray hit the other point it terminates there, that is, it is converted to a line segment.
To produce the illustrations below, all pairwise intersections between the rays is calculated and the maximum distance to the center, incremented by 20%, is taken as radius of a circle. Then all intersections between the rays and the circle defines a polygon which is used as limit.
LINKS
Lars Blomberg, Illustration for n = 3
Lars Blomberg, Illustration for n = 6
Lars Blomberg, Illustration for n = 7
Lars Blomberg, Illustration for n = 18
Lars Blomberg, Illustration for n = 19
Lars Blomberg, Illustration for n = 33
FORMULA
a(n) = (n^2 + 8*n - 5)/4, n odd; (n^2 + 2*n)/4, n even (conjectured).
Conjectured by Stefano Spezia, Oct 08 2020 after Lars Blomberg: (Start)
G.f.: x*(1 + x + 3*x^2 - 3*x^3)/((1 - x)^3*(1 + x)^2).
a(n) = a(n-1) + 2*a(n-2) - 2*a(n-3) - a(n-4) + a(n-5) for n > 5. (End)
EXAMPLE
For n=1: <-----x x-----> so a(1)=1.
For n=2: <-----x<--->x-----> so a(2)=2.
PROG
(PARI) a(n)=if(n%2==1, (n^2 + 8*n - 5)/4, (n^2 + 2*n)/4);
vector(200, n, a(n))
CROSSREFS
KEYWORD
nonn
AUTHOR
Lars Blomberg, Oct 08 2020
STATUS
approved