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

A322343 Number of equivalence classes of convex lattice polygons of genus n.

Original entry on oeis.org

16, 45, 120, 211, 403, 714, 1023, 1830, 2700, 3659, 6125, 8101, 11027, 17280, 21499, 28689, 43012, 52736, 68557, 97733, 117776, 152344, 209409, 248983, 319957, 420714, 497676, 641229, 813814, 957001, 1214030, 1525951, 1774058, 2228111, 2747973, 3184761
Offset: 1

Views

Author

Hugo Pfoertner, Dec 04 2018

Keywords

Examples

			a(1) = 16 because there are 16 equivalence classes of lattice polygons having exactly 1 interior lattice point. See Pfoertner link.
		

Crossrefs

Extensions

a(31) onwards from Justus Springer, Oct 25 2024

A070911 a(n) is twice the least possible area enclosed by a convex lattice n-gon.

Original entry on oeis.org

1, 2, 5, 6, 13, 14, 21, 28, 43, 48, 65, 80, 103, 118, 151, 174, 213, 242, 289, 328, 387, 420, 497, 548, 625, 690, 783, 860, 967, 1046, 1177, 1264, 1409, 1498, 1671, 1780, 1955, 2078, 2279, 2444, 2651, 2824, 3051, 3240, 3493, 3676, 3969, 4176, 4489, 4714, 5045, 5302, 5623, 5906
Offset: 3

Views

Author

Pierre Bornsztein (pbornszt(AT)club-internet.fr), May 20 2002

Keywords

Comments

A convex lattice n-gon is a polygon whose n vertices are points on the integer lattice Z^2 and whose interior angles are strictly less than Pi.
For the even-indexed values, see A089187. The precisely known odd values were a(3)=1 (trivial), a(5)=5 and a(7)=13 (Arkinstall), a(9)=21 (Rabinowitz), a(11)=43 (Olszewska), a(13)=65 (Simpson), and a(15)=103 (Castryck). Additional values up to a(25) were first obtained as upper bounds "by massive calculations with several independent search programs" by Hugo Pfoertner. Pfoertner has made nice pictures of the best polygons he has found. See his link below. - Jamie Simpson, Dec 08 2022, adapted by Günter Rote, Sep 18 2023
From Günter Rote, Sep 18 2023: (Start)
The values a(n) can be computed in time polynomial in n by an algorithm of Eppstein, Overmars, Rote, and Woeginger from 1992: They showed how to compute the smallest convex n-gon in a set of N points in O(nN^3) time. The N points can be taken as an O(n^2) X O(n^2) grid: Each dimension of the bounding rectangle must be at least n/2, because a horizontal or vertical line can contain at most two vertices; since the area is known to be bounded by n^3, the other dimension cannot exceed 4n^2. In our case, the runtime can be reduced to O(nN^2), since the lowest vertex can be assumed to be a fixed point, say, the origin. By considering the lattice width, the grid can be reduced to size N=O(n^2) X O(n^1.5). Overall, this yields a theoretical runtime bound of O(n^8), for reporting all k-gons up to size n. This estimate agrees roughly with the observed runtimes in practice.
I have implemented the algorithm in Python and uploaded the program to the Code Golf Stackexchange site. It runs up to a(40) in a couple of minutes and produces some smallest polygon for each n. The values up to a(102) have been computed on a workstation in 31 hours. (End)

Crossrefs

See A089187 for the even-indexed subsequence. See A063984 for further information.

Formula

a(n)/2 = A063984(n) + n/2 - 1. [Simpson]
See Bárány and Tokushige for asymptotics.

Extensions

Additional comments from Steven Finch, Dec 06 2003
a(11)-a(20) from Hugo Pfoertner, Nov 26 2018
a(21)-a(25) from Hugo Pfoertner, Dec 02 2018
a(13), a(26) and virtually all terms with even n up to a(42) (as given in A089187) go back to Jamie Simpson, Dec 07 2003
Data section cut at n=16 by N. J. A. Sloane, Dec 21 2022
a(17)-a(26) restored and a(27) onwards added by Günter Rote, Sep 18 2023

A322345 Maximal number of vertices of a convex lattice polygon containing n lattice points in its interior.

Original entry on oeis.org

4, 6, 6, 6, 8, 7, 8, 9, 8, 8, 10, 9, 9, 10, 10, 10, 10, 11, 10, 12, 12, 12, 11, 11, 12, 12, 12, 13, 12, 12, 13, 13, 13, 13, 14, 14, 13, 13, 14, 14, 14, 14, 14, 14, 14, 15, 14, 15, 15, 15, 15, 15, 16, 15, 16, 15, 16, 16, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 16, 17, 17, 16, 17, 17
Offset: 0

Views

Author

Hugo Pfoertner, Dec 04 2018

Keywords

Comments

This is an inverse of A063984 in the following sense: A063984(k) = min {n : a(n)>=k}. Thus a(n) grows roughly like const*n^(1/3). - Günter Rote, Sep 19 2023

Crossrefs

Programs

  • Python
    # See the Python program in the links section.

Extensions

a(0) added by Andrey Zabolotskiy, Dec 29 2021
Name clarified by Günter Rote, Sep 18 2023
a(31) onwards from Günter Rote, Oct 01 2023

A089187 a(n) is the minimal area of a convex lattice polygon with 2n sides.

Original entry on oeis.org

1, 3, 7, 14, 24, 40, 59, 87, 121, 164, 210, 274, 345, 430, 523, 632, 749, 890, 1039, 1222, 1412, 1620, 1838, 2088, 2357, 2651, 2953, 3278, 3612, 4020, 4439, 4902, 5387, 5898, 6418, 6974, 7557, 8182, 8835, 9512, 10218, 10984, 11759, 12635, 13525, 14448, 15399, 16415, 17473, 18570
Offset: 2

Views

Author

Jamie Simpson, Dec 07 2003

Keywords

Comments

For polygons with an odd number of sides see A070911.

Examples

			The first entry is 1 because the convex lattice quadrilateral of minimal area is a unit square. The minimal area hexagon has area 3.
		

Crossrefs

The even-indexed subsequence of A070911. See also A063984.

Extensions

a(22) onwards from Günter Rote, Sep 17 2023

A322106 Numerator of the least possible squared diameter of an enclosing circle of a strictly convex lattice n-gon.

Original entry on oeis.org

2, 2, 50, 8, 10, 10, 1250, 29, 40, 40, 2738, 72, 82, 82, 176900, 17810, 1709690, 178, 11300, 260, 290, 290, 568690, 416, 2418050, 488, 3479450, 629, 2674061, 730
Offset: 3

Views

Author

Hugo Pfoertner, Nov 26 2018

Keywords

Comments

If the smallest possible enclosing circle is essentially determined by 3 vertices of the polygon, the squared diameter may be rational and thus A322107(n) > 1.
The first difference of the sequences A321693(n) / A322029(n) from a(n) / A322107(n) occurs for n = 12.
The ratio (A321693(n)/A322029(n)) / (a(n)/A322107(n)) will grow for larger n due to the tendency of the minimum area polygons to approach elliptical shapes with increasing aspect ratio, whereas the polygons leading to small enclosing circles will approach circular shape.
For n>=19, polygons with different areas may fit into the enclosing circle of minimal diameter. See examples in pdf at Pfoertner link.

Examples

			By n-gon a convex lattice n-gon is meant, area is understood omitting the factor 1/2. The following picture shows a comparison between the minimum area polygon and the polygon fitting in the smallest possible enclosing circle for n=12:
.
    0 ----- 1 ----- 2 ------ 3 ------ 4 ------ 5 ------ 6
  6                          H ##### Gxh +++++ g
  |                     #        +      #    *   +
  |                 #       +              #        +
  |             #       +                 *   #        +
  5         I       i                          F        f
  |       #       +                    *        #       +
  |     #       +                                #      +
  |   #       +                     *             #     +
  4 J       j                                      #    e
  | #     @+                     *                  #  +
  | #     +      @                                   #+
  | #    +              @     *                      +#
  3 K   +                     @                     +   E
  |  # +                   *         @             +    #
  |   #                                    @      +     #
  |  + #                *                        +@     #
  2 k   #                                      d        D
  | +    #           *                       +        #
  | +     #                                +        #
  | +      #       *                    +         #
  1 l       L                         c        C
  |   +       # *                +        #
  |     +       #           +        #
  |       +  *    #     +        #
  0         a ++++ Axb ##### B
    0 ----- 1 ----- 2 ------ 3 ------ 4 ------ 5 ------ 6
.
The 12-gon ABCDEFGHIJKLA with area 52 fits into a circle of squared diameter 40, e.g. determined by the distance D - J, indicated by @@@. No convex 12-gon with a smaller enclosing circle exists. Therefore a(n) = 40 and A322107(12) = 1.
For comparison, the 12-gon abcdefghijkla with minimal area A070911(12) = 48 requires a larger enclosing circle with squared diameter A321693(12)/A322029(12) = 52/1, e.g. determined by the distance a - g, indicated by ***.
		

References

Crossrefs

Cf. A063984, A070911, A321693, A322029, A322107 (corresponding denominators).

Extensions

a(27)-a(32) from Hugo Pfoertner, Dec 19 2018

A322107 Denominator of the least possible squared diameter of an enclosing circle of a strictly convex lattice n-gon. Numerators are A322106.

Original entry on oeis.org

1, 1, 9, 1, 1, 1, 49, 1, 1, 1, 49, 1, 1, 1, 1369, 121, 9801, 1, 49, 1, 1, 1, 1521, 1, 5329, 1, 5929, 1, 3844, 1
Offset: 3

Views

Author

Hugo Pfoertner, Nov 26 2018

Keywords

Examples

			See A322106.
		

Crossrefs

Extensions

a(27)-a(32) from Hugo Pfoertner, Dec 19 2018

A357888 a(n) is the minimal squared length of the longest side of a strictly convex grid n-gon of smallest area.

Original entry on oeis.org

2, 1, 2, 2, 5, 2, 5, 5, 5, 5, 10, 5, 10, 5, 13, 10, 13, 10, 13, 13, 17, 13, 17, 13, 25, 17, 25, 17, 25, 13, 25, 17, 26, 17, 26, 17, 26, 17, 26, 25, 26, 25, 29, 29, 29, 34, 34, 34, 41, 37, 41, 37, 41, 34, 41, 41, 41, 41, 41, 41, 61, 41, 61, 41, 61, 41, 61, 41, 41
Offset: 3

Views

Author

Hugo Pfoertner, Nov 10 2022

Keywords

Comments

It is conjectured that at least one polygon of smallest area exists with 4 sides of length 1 for n >= 8 and additionally 4 sides of squared length 2 for n >= 12.

Crossrefs

Programs

  • Python
    # See Rote link.

Extensions

a(29)-a(60) from Günter Rote, Sep 20 2023
Terms a(61) and beyond from Andrey Zabolotskiy, Sep 21 2023
Showing 1-7 of 7 results.