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

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

A063984 Minimal number of integer points in the Euclidean plane which are contained in the interior of any convex n-gon whose vertices have integer coordinates.

Original entry on oeis.org

0, 0, 1, 1, 4, 4, 7, 10, 17, 19, 27, 34, 45, 52, 68, 79, 98, 112, 135, 154, 183, 199, 237, 262, 300, 332, 378, 416, 469, 508, 573, 616, 688, 732, 818, 872, 959, 1020, 1120, 1202, 1305, 1391, 1504, 1598, 1724, 1815, 1961, 2064, 2220, 2332, 2497, 2625, 2785
Offset: 3

Views

Author

Pierre Bornsztein (pbornszt(AT)club-internet.fr), Sep 06 2001; May 20 2002

Keywords

Comments

Consider convex lattice n-gons, that is, polygons whose n vertices are points on the integer lattice Z^2 and whose interior angles are strictly less than Pi. a(n) is the least possible number of lattice points in the interior of such an n-gon.
The result a(5) = 1 seems to be due to Ehrhart. Using Pick's formula, it is not difficult to prove that the determination of a(k) is equivalent to the determination of the minimal area of a convex k-gon whose vertices are lattice points.
Results before 2018 for odd n came from the following authors: a(3) (trivial), a(5) (Arkinstall), a(7) and a(9) (Rabinowitz), a(11) (Olszewska), a(13) (Simpson) and a(15) (Castryck). - Jamie Simpson, Oct 18 2022

Examples

			For example, every convex pentagon whose vertices are lattice points contains at least one lattice point and it is not difficult to construct such a pentagon with only one interior lattice point. Thus a(5) = 1.
		

Crossrefs

Formula

a(n) = A070911(n)/2 - n/2 + 1. [Simpson]
See Barany & Tokushige for asymptotics.
a(n) = min(g: A322345(g) >= n). - Andrey Zabolotskiy, Apr 23 2023

Extensions

Additional comments from Steven Finch, Dec 06 2003
More terms from Matthias Henze, Jul 27 2015
a(17)-a(23) from Hugo Pfoertner, Nov 27 2018
a(24)-a(25) from Hugo Pfoertner, Dec 04 2018
a(26)-a(55) from and definition clarified by Günter Rote, Sep 19 2023

A249456 Decimal expansion of a constant appearing in the expression of the asymptotic expected volume V(d) of the convex hull of uniformly selected n(d) points in the interior of a d-dimensional unit cube.

Original entry on oeis.org

2, 1, 3, 9, 6, 9, 0, 9, 4, 7, 4, 1, 2, 8, 5, 9, 8, 6, 0, 5, 0, 5, 3, 0, 2, 2, 6, 3, 8, 5, 2, 3, 5, 2, 4, 4, 4, 3, 2, 3, 1, 4, 6, 9, 5, 6, 0, 5, 5, 1, 2, 9, 3, 8, 5, 8, 2, 4, 9, 8, 0, 0, 0, 7, 6, 0, 1, 1, 1, 5, 5, 2, 1, 8, 3, 2, 5, 1, 3, 3, 3, 2, 3, 8, 9, 6, 9, 7, 2, 7, 1, 2, 4, 4, 0, 0, 5, 2, 3, 8, 4, 3, 2
Offset: 1

Views

Author

Jean-François Alcover, Oct 29 2014

Keywords

Examples

			2.139690947412859860505302263852352444323146956...
		

Crossrefs

Cf. A249455.

Programs

  • Mathematica
    k = Exp[Log[2*Pi] - EulerGamma - 1/2]; RealDigits[k, 10, 103] // First

Formula

k = exp(log(2*Pi) - gamma - 1/2).
Lim_{d -> infinity} V(d) =
0 if n(d) <= (k - epsilon)^d
1 if n(d) >= (k + epsilon)^d

A328495 Decimal expansion of Sum_{k>=0} (-1)^k*L(k)/k!, where L(k) is the k-th Lucas number (A000032).

Original entry on oeis.org

2, 0, 5, 3, 5, 6, 5, 1, 1, 1, 4, 7, 6, 5, 1, 0, 9, 6, 0, 3, 4, 4, 9, 1, 4, 6, 6, 1, 1, 4, 6, 9, 6, 5, 3, 0, 9, 3, 2, 0, 2, 5, 8, 6, 4, 4, 9, 4, 5, 9, 1, 8, 2, 4, 8, 7, 0, 2, 3, 6, 2, 9, 7, 2, 0, 4, 0, 8, 9, 6, 4, 4, 0, 4, 5, 4, 2, 3, 5, 9, 3, 8, 3, 4, 7, 7, 1
Offset: 1

Views

Author

Amiram Eldar, Oct 22 2019

Keywords

Examples

			2.053565111476510960344914661146965309320258644945918...
		

References

  • Thomas Koshy, Fibonacci and Lucas Numbers with Applications, Volume 1, 2nd edition, Wiley, 2017, chapter 13.8, pp. 248-250.

Crossrefs

Programs

  • Maple
    Digits := 100: 2*exp(-1/2)*cosh(sqrt(5)/2)*10^86:
    ListTools:-Reverse(convert(floor(%), base, 10)); # Peter Luschny, Oct 22 2019
  • Mathematica
    RealDigits[Exp[-GoldenRatio] + Exp[GoldenRatio - 1], 10, 100][[1]]

Formula

Equals exp(-phi) + exp(phi-1), where phi is the golden ratio (A001622).
Equals 2*exp(-1/2)*cosh(sqrt(5)/2) = A249455*cosh(phi - 1/2). - Peter Luschny, Oct 22 2019
Equals A328344 / e. - Amiram Eldar, Feb 06 2022

A369881 Decimal expansion of 1/(2*sqrt(e)).

Original entry on oeis.org

3, 0, 3, 2, 6, 5, 3, 2, 9, 8, 5, 6, 3, 1, 6, 7, 1, 1, 8, 0, 1, 8, 9, 9, 7, 6, 7, 4, 9, 5, 5, 9, 0, 2, 2, 6, 7, 2, 0, 9, 5, 9, 0, 6, 7, 7, 4, 3, 5, 9, 3, 4, 7, 7, 8, 4, 1, 4, 4, 6, 0, 7, 9, 3, 6, 7, 5, 2, 8, 2, 5, 9, 7, 0, 6, 8, 7, 4, 2, 1, 1, 9, 9, 9, 3, 2, 3, 8, 0, 5, 7, 5, 3, 9, 9, 4, 7, 2, 8, 0, 1, 3, 2, 1, 1
Offset: 0

Views

Author

Amiram Eldar, Feb 04 2024

Keywords

Examples

			0.30326532985631671180189976749559022672095906774359...
		

Crossrefs

Programs

  • Mathematica
    RealDigits[1/(2*Sqrt[E]), 10, 105][[1]]
  • PARI
    exp(-1/2)/2

Formula

Equals A092605 / 2.
Equals exp(-(1 + A187832)).
Equals Sum_{n>=1} (-1)^(n+1)/A066318(n).
Equals lim_{n->oo} sqrt(n)*(((n+1)!)^(1/(2*(n+1))) - (n!)^(1/(2*n))) (Batinetu-Giurgiu, 2016).
Showing 1-5 of 5 results.