OFFSET
0,4
COMMENTS
It appears that the second differences of this sequence yield A326305.
LINKS
PROG
(PARI)
f(i, j, c, d)=my(L=List(), x, y); x=(d-c)/(j-i); if(max(c/i, d/j)<=x&&x<min((c+1)/i, (d+1)/j), y=(d*i-c*j)/(j-i); listinsert(L, [x, y], 1)); L
g(i, j)=my(c, d, L, S=Set()); for(c=0, i-1, for(d=c+1, j-1, L=f(i, j, c, d); S=setunion(S, Set(L)))); S
h(n)=my(i, j, S=Set()); for(i=1, n-1, for(j=i+1, n, S=setunion(S, g(i, j)))); S
a(n)=(n>1)+#h(n)
for(n=0, 60, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Luc Rousseau, Apr 15 2020
STATUS
approved