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.

Showing 1-2 of 2 results.

A141247 Minimum number of points visible from a point in a square n X n lattice.

Original entry on oeis.org

1, 4, 6, 10, 14, 22, 26, 38, 46, 58, 66, 86, 94, 118, 130, 146, 162, 194, 206, 241, 257, 282, 302, 346, 362, 401, 426, 462, 486, 542, 558, 609, 641, 690, 722, 770, 794, 861, 899, 950, 982, 1062, 1086, 1157, 1201, 1258, 1302, 1393, 1425, 1501, 1546, 1613
Offset: 1

Views

Author

T. D. Noe, Jun 17 2008

Keywords

Comments

Two points (a,b) and (c,d) are visible to each other when gcd(c-a,d-b)=1. Sequence A141248 gives the number of lattice points that have minimal visibility.

Crossrefs

Cf. A141224.

Programs

  • Mathematica
    Table[mn=n^2+1; Do[cnt=0; Do[If[GCD[c-a,d-b]<2, cnt++ ], {a,n}, {b,n}]; If[cnt
    				

Formula

The minimum number of visible points is slightly less than c*n^2, with c = 6/pi^2.

A141249 Numbers n such that the central point of the square n X n lattice sees the minimal number of points.

Original entry on oeis.org

1, 21, 33, 45, 73, 81, 193, 201, 241, 273, 313, 381, 421, 445, 453, 661, 693, 861, 885, 913
Offset: 1

Views

Author

T. D. Noe, Jun 17 2008

Keywords

Comments

These n are the numbers for which A141248(n) is odd. Note that n must be odd. When A141248(n)=1, the central point is the only point seeing the minimal number of points. These numbers are 1 or 9 (mod 12). These numbers also seem to produce cubic n X n X n lattices in which the central point has minimal visibility. Note that for n>1, n+1 is twice a prime power in A141250.

Crossrefs

Cf. A141226.
Showing 1-2 of 2 results.