OFFSET
1,2
COMMENTS
Sequence A141224 gives the maximum number of points visible from some point. By symmetry, when a(n) is odd, the central point in the lattice can see the maximal number of points. When a(n)=1, the central point is the only such point. See A141226 for the n x n lattices that have such a central point.
LINKS
T. D. Noe, Table of n, a(n) for n=1..1000
MATHEMATICA
Table[mx=0; pts=0; Do[cnt=0; Do[If[GCD[c-a, d-b]<2, cnt++ ], {a, n}, {b, n}]; If[cnt>mx, mx=cnt; pts=1, If[cnt==mx, pts++ ]], {c, n}, {d, n}]; pts, {n, 20}]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Jun 15 2008
STATUS
approved