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

A344866 Number of polygons formed when every pair of vertices of a regular (2n-1)-gon are joined by an infinite line.

Original entry on oeis.org

0, 1, 16, 99, 352, 925, 2016, 3871, 6784, 11097, 17200, 25531, 36576, 50869, 68992, 91575, 119296, 152881, 193104, 240787, 296800, 362061, 437536, 524239, 623232, 735625, 862576, 1005291, 1165024, 1343077, 1540800, 1759591, 2000896, 2266209, 2557072, 2875075, 3221856, 3599101, 4008544, 4451967
Offset: 1

Views

Author

Scott R. Shannon, Jun 01 2021

Keywords

Comments

This is the odd-indexed subsequence of A344857. See A344857 for images of the polygons.

Examples

			a(3) = 16 as the five connected vertices form eleven polygons inside the regular pentagon while also forming five triangles outside the pentagon, giving sixteen polygons in total.
		

Crossrefs

Cf. A344857 (number for even and odd n), A344311, A344938, A007678, A341735 (number inside the n-gon), A344899 (number of edges).
See also A347320.

Programs

  • Mathematica
    LinearRecurrence[{5,-10,10,-5,1},{0,1,16,99,352},40] (* Harvey P. Dale, Jun 01 2025 *)
  • Python
    def A344866(n): return n*(n*(n*(2*n - 11) + 23) - 21) + 7 # Chai Wah Wu, Sep 12 2021

Formula

a(n) = 2*n^4 - 11*n^3 + 23*n^2 - 21*n + 7.
G.f.: x^2*(1 + 11*x + 29*x^2 + 7*x^3)/(1 - x)^5. - Stefano Spezia, Jun 04 2021

Extensions

Edited by N. J. A. Sloane, Sep 12 2021

A341734 a(n) = A007678(2*n)/(2*n).

Original entry on oeis.org

0, 1, 4, 10, 22, 37, 68, 106, 137, 225, 310, 376, 538, 685, 716, 1058, 1288, 1471, 1842, 2170, 2327, 2941, 3388, 3734, 4412, 4993, 5444, 6306, 7042, 7391, 8680, 9586, 10289, 11585, 12682, 13628, 15078, 16381, 17440, 19210, 20740, 21899, 24038, 25810, 27245, 29613, 31648, 33418, 35992, 38305
Offset: 1

Views

Author

Keywords

Comments

This is the number of cells in a 1/(2*n)-th sector of a regular (2*n)-gon with all diagonals drawn. See Rubinstein's illustrations in A007678.

Examples

			If we divide a regular hexagon with all diagonals drawn into 6 sectors (or pizza slices), each sector contains three triangles and one quadrilateral (cf. A331450), so a(3) = A007678(6)/6 = 24/6 = 4.
		

Crossrefs

Row sums of triangle in A342268.

A342269 Take a regular (2*n+1)-gon with all diagonals drawn; a(n) = number of edges in next-to-largest cell.

Original entry on oeis.org

3, 5, 6, 6, 8, 7, 8, 8, 7, 8, 8, 8, 11, 10, 8, 9, 10, 8, 10, 14, 9, 10, 10, 12, 12, 10, 10, 12, 12, 12, 12, 10, 10, 11, 12, 12, 10, 10, 10, 10, 12, 10, 10, 12, 13, 12, 12, 11, 12, 12, 12, 12, 12, 10, 10, 12, 14, 14, 12, 12, 12, 10, 12, 12, 14, 12, 10, 12, 12
Offset: 2

Views

Author

Keywords

Comments

The largest cell has 2*n+1 sides, this is the runner-up.
It can be read off the rows of A331450.
It would be nice to know how fast this sequence grows. Is it unbounded?

Crossrefs

Showing 1-3 of 3 results.