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-6 of 6 results.

A123690 Number of points in a square lattice covered by a circle of diameter n if the center of the circle is chosen such that the circle covers the maximum possible number of lattice points.

Original entry on oeis.org

2, 5, 9, 14, 22, 32, 41, 52, 69, 81, 97, 116, 137, 157, 180, 208, 231, 258, 293, 319, 351, 384, 421, 457, 495, 540, 578, 623, 667, 716, 761, 812, 861, 914, 973, 1025, 1085, 1142, 1201, 1268, 1328, 1396, 1460, 1528, 1597, 1669, 1745, 1816, 1893, 1976, 2053
Offset: 1

Views

Author

Hugo Pfoertner, Oct 09 2006, Feb 11 2007

Keywords

Comments

a(n) >= max(A053411(n), A053414(n), A053415(n)).
a(n) is an upper bound for the number of segments of a self avoiding path on the 2-dimensional square lattice such that the path fits into a circle of diameter n. A122224(n) <= a(n).

Examples

			a(1)=2: Circle with diameter 1 and center (0,0.5) covers 2 lattice points;
a(2)=5: Circle with diameter 2 and center (0,0) covers 5 lattice points;
a(3)=4: Circle with diameter 3 and center (0,0) covers 9 lattice points;
a(4)=14: Circle with diameter 4 and center (0.5,0.2) covers 14 lattice points.
		

Crossrefs

The corresponding sequences for the hexagonal lattice and the honeycomb net are A125852 and A127406, respectively.

Programs

  • Mathematica
    (* An exact program using the functions from A291259: *)
    Clear[a]; a[n_] := Module[{points, pairc, expcent, innerpoints, cn=Ceiling[n], allpairs},
    allpairs = Flatten[Table[{i, j}, {i, -cn, cn+1}, {j, -cn, cn+1}], 1];
    points = Select[allpairs, candidatePointQ[#, n]&];
    pairc = Select[Subsets[points, {2}], dd2@@#<=4n^2&];
    expcent = explorativeCenters[pairc, n];
    innerpoints = Count[allpairs, _?(innerPointQ[#, n]&)];
    Max[Table[Count[points, _?(dd2[#, center]<=n^2&)], {center, expcent}]] + innerpoints];
    Table[a[n/2], {n, 20}] (* Andrey Zabolotskiy, Feb 21 2018 *)

Extensions

a(21)-a(40) originally conjectured by Jean-François Alcover confirmed and moved to Data and more terms added by Andrey Zabolotskiy, Feb 21 2018

A192493 Numerators of squared radii of circumcircles of non-degenerate triangles with integer vertex coordinates.

Original entry on oeis.org

1, 1, 5, 25, 25, 2, 5, 25, 25, 13, 325, 169, 65, 4, 65, 17, 425, 221, 9, 289, 1105, 169, 85, 5, 325, 85, 50, 1105, 289, 25, 2125, 625, 13, 325, 425, 1625, 169, 1105, 125, 65, 29, 2465, 4225, 1885, 725, 377, 2465, 5525, 1885, 125, 8, 145, 65, 841, 17, 841, 845, 425, 2125, 221, 6409, 9425, 9, 325, 289, 145, 1105, 37, 5365, 3145, 169, 2405, 925, 85, 1369, 4625, 481, 625, 493, 2405, 10
Offset: 1

Views

Author

Hugo Pfoertner, Jul 10 2011

Keywords

Examples

			The smallest triangle of lattice points {(0,0),(1,0),(0,1)} has circumradius R=sqrt(2)/2, i.e., R^2=1/2. Therefore a(1)=1, A192494(1)=2.
		

Crossrefs

Cf. A192494 (corresponding denominators), A128006, A128007.

A192494 Denominators of squared radii of circumcircles of non-degenerate triangles with integer vertex coordinates.

Original entry on oeis.org

2, 1, 4, 18, 16, 1, 2, 9, 8, 4, 98, 50, 18, 1, 16, 4, 98, 50, 2, 64, 242, 36, 18, 1, 64, 16, 9, 196, 50, 4, 338, 98, 2, 49, 64, 242, 25, 162, 18, 9, 4, 338, 578, 256, 98, 50, 324, 722, 242, 16, 1, 18, 8, 100, 2, 98, 98, 49, 242, 25, 722, 1058, 1, 36, 32, 16, 121, 4, 578, 338, 18, 256, 98, 9, 144, 484, 50, 64, 50, 242, 1
Offset: 1

Views

Author

Hugo Pfoertner, Jul 10 2011

Keywords

Examples

			The smallest triangle of lattice points {(0,0),(1,0),(0,1)} has circumradius R=sqrt(2)/2, i.e., R^2=1/2. Therefore A192493(1)=1, a(1)=2.
		

Crossrefs

Cf. A192493 (corresponding numerators).

A346993 Record numbers of grid points in a square lattice covered by a continuously growing circular disk if the center of the disk is chosen to cover the maximum possible number of grid points.

Original entry on oeis.org

1, 2, 4, 5, 6, 7, 9, 12, 13, 14, 16, 17, 21, 22, 24, 26, 27, 28, 32, 33, 37, 38, 39, 40, 41, 44, 45, 46, 47, 48, 52, 56, 57, 58, 59, 61, 62, 63, 64, 65, 69, 70, 71, 72, 73, 74, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 89, 90, 91, 92, 93, 94, 97, 98, 99, 100, 104, 112, 113
Offset: 1

Views

Author

Hugo Pfoertner, Aug 16 2021

Keywords

Examples

			     Diameter  Covered      R^2 =
     of disk   grid        (D/2)^2 =
   n    D      points  A346994(n)/A346995(n)
.
   1 0.00000     1           0   /    1
   2 1.00000     2           1   /    4
   3 1.41421     4           1   /    2
   4 2.00000     5           1   /    1
   5 2.23607     6           5   /    4
   6 2.50000     7          25   /   16
   7 2.82843     9           2   /    1
   8 3.16228    12           5   /    2
   9 3.67696    13         169   /   50
  10 3.80058    14          65   /   18
  11 4.12311    16          17   /    4
  12 4.33333    17         169   /   36
  13 4.47214    21           5   /    1
		

Crossrefs

The corresponding squared radii are A346994/A346995.

A346124 Numbers m such that no self-avoiding walk of length m + 1 on the square lattice fits into the smallest circle that can enclose a walk of length m.

Original entry on oeis.org

1, 4, 6, 8, 12, 14, 15, 16, 18, 20, 21, 23, 24, 25, 26, 27, 28, 32, 34, 36, 38, 44, 46, 48, 52, 56, 58, 60
Offset: 1

Views

Author

Hugo Pfoertner and Markus Sigg, Jul 30 2021

Keywords

Comments

Closed walks are allowed.

Examples

			See link for illustrations of terms corresponding to diameters D < 8.5.
		

Crossrefs

The squared radii of the enclosing circles are a subset of A192493/A192494.
Cf. A346123-A346132 similar to this sequence with other sets of turning angles.

A346995 Denominators of the squared radii corresponding to circular disks covering record numbers of grid points A346993 of the square lattice.

Original entry on oeis.org

1, 4, 2, 1, 4, 16, 1, 2, 50, 18, 4, 36, 1, 4, 2, 4, 722, 16, 2, 50, 1, 4, 18, 1682, 100, 2, 1, 25, 2178, 50, 2, 4, 1, 64, 196, 1, 242, 2178, 242, 25, 1, 4, 578, 98, 9, 4, 2, 338, 18, 3698, 3844, 98, 98, 400, 3844
Offset: 1

Views

Author

Hugo Pfoertner, Aug 16 2021

Keywords

Examples

			0/1, 1/4, 1/2, 1/1, 5/4, 25/16, 2/1, 5/2, 169/50, 65/18, 17/4, 169/36, ...
For detailed examples see A346993 and the linked pdf.
		

Crossrefs

The corresponding numerators are A346994.
Showing 1-6 of 6 results.