OFFSET
1,2
COMMENTS
Two points (a,b) and (c,d) are visible to each other when gcd(c-a,d-b)=1. Sequence A141225 gives the number of lattice points that have maximal visibility.
LINKS
T. D. Noe, Table of n, a(n) for n=1..1000
Eric Weisstein, MathWorld: Visible Point
FORMULA
The maximum number of visible points is slightly more than c*n^2, with c = 6/Pi^2.
MATHEMATICA
Table[mx=0; Do[cnt=0; Do[If[GCD[c-a, d-b]<2, cnt++ ], {a, n}, {b, n}]; If[cnt>mx, mx=cnt], {c, n}, {d, n}]; mx, {n, 20}]
CROSSREFS
KEYWORD
nice,nonn
AUTHOR
T. D. Noe, Jun 15 2008
STATUS
approved