A347322 A344899(2*n).
1, 8, 78, 320, 1010, 2052, 4718, 8576, 12546, 23720, 36542, 47928, 76466, 105560, 115230, 188672, 245378, 294948, 395390, 491840, 544950, 737528
Offset: 1
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.
a(1) = a(2) = 0 as no polygon can be formed by one or two connected points. a(3) = 1 as the connected vertices form a triangle, while the six regions outside the triangle are open. a(4) = 4 as the four connected vertices form four triangles inside the square. Twelve open regions outside these polygons are also formed. a(5) = 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. Twenty open regions outside these polygons are also formed. a(6) = 42 as the six connected vertices form twenty-four polygons inside the regular hexagon while also forming eighteen polygons outside the hexagon, giving forty-two polygons in total. Thirty open regions outside these polygons are also formed. See the linked images above for further examples.
a(5)=15 because there are 5 points inside the pentagon, 5 points on the pentagon and five points outside of the pentagon.
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.
LinearRecurrence[{5,-10,10,-5,1},{0,1,16,99,352},40] (* Harvey P. Dale, Jun 01 2025 *)
def A344866(n): return n*(n*(n*(2*n - 11) + 23) - 21) + 7 # Chai Wah Wu, Sep 12 2021
A pentagon with all vertices connected forms 10 triangles inside the pentagon, 5 triangles outside the pentagon, giving 15 triangles in all, and 1 smaller pentagon inside the pentagon, so row 3 is [15,0,1]. The table begins: 1; 4; 15,0,1; 36,6; 70,21,7,0,1; 112,64; 189,108,36,18,0,0,1; 270,220,50; 407,352,110,55,0,0,0,0,1; 624,528; 884,689,325,91,0,26,0,0,0,0,1; 1162,1092,266,14; 1530,1545,480,270,45,0,0,0,0,0,0,0,1; 2080,2032,416,80; 2567,2754,1003,374,17,68,0,0,0,0,0,0,0,0,1; 3402,3366,180,18,18; 3952,4807,1672,475,95,76,0,19,0,0,0,0,0,0,0,0,1; 5380,5360,1580,240,0,20; 5943,7392,2583,1260,21,0,0,0,0,0,0,0,0,0,0,0,0,0,1; 7590,9020,2310,132,132,66; 9430,9775,4508,1518,253,46,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1; 11304,12288,2280,144; 13025,14650,6250,2375,200,75,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1; 16042,16952,5954,728,260,52; 17064,22464,7884,2700,567,189,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1; 21616,24192,7056,2016,168,28; 23751,29319,11281,3828,348,319,0,87,29,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1; 29880,29010,4140,540; 30814,39370,15314,5177,341,496,0,62,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1; 37440,42624,14240,3008,544,64; 41481,49335,19305,7854,891,363,66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1;
A hexagon with all diagonals drawn has six edges (those on the outside of the hexagon) which form one side of a single triangle and thus face two edges, eighteen edges that adjoin two triangles and thus face four edges, twelve edges that adjoin a triangle and a quadrilateral and thus face five edges, and six edges that adjoin two quadrilaterals and thus face six edges. Thus the row for n = 6 is [6, 0, 18, 12, 6]. See the attached image. The table begins: 3; 4, 0, 4; 5, 0, 10, 0, 5; 6, 0, 18, 12, 6; 7, 0, 28, 14, 21, 14, 7; 8, 0, 56, 48, 24; 9, 0, 54, 54, 72, 72, 18, 0, 9; 10, 0, 80, 160, 120, 20; 11, 0, 88, 154, 198, 198, 55, 0, 0, 0, 11; 12, 0, 240, 336, 168; 13, 0, 130, 260, 507, 390, 91, 104, 0, 0, 0, 0, 13; 14, 0, 266, 616, 644, 140, 42; 15, 0, 180, 600, 945, 630, 435, 0, 15, 0, 0, 0, 0, 0, 15; 16, 0, 448, 1056, 960, 576, 32; 17, 0, 238, 816, 1853, 1224, 425, 272, 34, 0, 0, 0, 0, 0, 0, 0, 17; 18, 0, 900, 1836, 1314, 108, 144; 19, 0, 304, 1520, 2717, 2128, 798, 304, 95, 0, 19, 0, 0, 0, 0, 0, 0, 0, 19; 20, 0, 1000, 2120, 3280, 1600, 100, 240; 21, 0, 378, 2352, 4494, 3276, 1365, 252, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21; 22, 0, 1056, 3828, 5258, 1716, 374, 396, 132; . . See the linked file for the table n = 3..100.
a(3) = 30 as the five connected vertices form a pentagon with fives lines along the pentagon's edges, fifteen lines inside forming eleven polygons, and ten lines outside forming another five triangles. In all these sixteen polygons form thirty edges. Twenty infinite edges between the outer unbounded regions are also formed.
def A344907(n): return n*(n*(n*(4*n - 22) + 44) - 35) + 9 # Chai Wah Wu, Sep 12 2021
The table begins: 3, 9, 27, 57, 99, 135, 219, 297, 351, 489, 603, 645, 867, 1017, ... 4, 12, 36, 76, 132, 180, 292, 348, 516, 604, 804, 892, 1156, 1284, ... 5, 15, 45, 95, 165, 255, 365, 495, 645, 815, 1005, 1215, 1445, 1695, ... 6, 18, 54, 114, 198, 306, 438, 594, 774, 942, 1206, 1422, 1734, 2034, ... 7, 21, 63, 133, 231, 357, 511, 693, 903, 1141, 1407, 1701, 2023, 2373, ... 8, 24, 72, 152, 264, 408, 584, 792, 1032, 1304, 1608, 1944, 2312, 2712, ... 9, 27, 81, 171, 297, 459, 657, 891, 1161, 1467, 1809, 2187, 2601, 3051, ... 10, 30, 90, 190, 330, 510, 730, 990, 1290, 1630, 2010, 2430, 2890, 3390, ... 11, 33, 99, 209, 363, 561, 803, 1089, 1419, 1793, 2211, 2673, 3179, 3729, ... 12, 36, 108, 228, 396, 612, 876, 1188, 1548, 1956, 2412, 2916, 3468, 4068, ... 13, 39, 117, 247, 429, 663, 949, 1287, 1677, 2119, 2613, 3159, 3757, 4407, ... 14, 42, 126, 266, 462, 714, 1022, 1386, 1806, 2282, 2814, 3402, 4046, 4746, ... 15, 45, 135, 285, 495, 765, 1095, 1485, 1935, 2445, 3015, 3645, 4335, 5085, ... ... See the attached text file for further examples. See A356984, A357058, A357196 for images of the n-gons.
Comments