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