cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A141248 Number of points having minimal visibility in a square n X n lattice of points.

This page as a plain text file.
%I A141248 #4 Mar 30 2012 17:22:50
%S A141248 1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,36,1,4,4,4,4,4,4,4,4,4,4,4,5,4,
%T A141248 4,4,4,4,4,4,4,4,4,4,9,4,4,52,4,4,8,4,4,44,4,4,4,4,4,4,4,4,4,4,4,4,4,
%U A141248 12,4,4,4,4,1,4,4,4,4,4,4,4,1,4,4,4,20,4,4,4,4,8,4,4,4,4,4,4,4,4,4,4,4,4,4
%N A141248 Number of points having minimal visibility in a square n X n lattice of points.
%C A141248 Sequence A141247 gives the minimum number of points visible from a point. By symmetry, when a(n) is odd, the central point in the lattice can see only the minimal number of points. When a(n)=1, the central point is the only such point. See A141249 for the n X n lattices that have such a central point.
%H A141248 T. D. Noe, <a href="/A141248/b141248.txt">Table of n, a(n) for n=1..1000</a>
%t A141248 Table[mn=n^2+1; pts=0; Do[cnt=0; Do[If[GCD[c-a,d-b]<2, cnt++ ], {a,n}, {b,n}]; If[cnt<mn, mn=cnt; pts=1, If[cnt==mn, pts++ ]], {c,n}, {d,n}]; pts, {n,20}]
%Y A141248 Cf. A141225.
%K A141248 nonn
%O A141248 1,2
%A A141248 _T. D. Noe_, Jun 17 2008