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.

A367121 Place n points in general position on each side of a square, and join every pair of the 4*n+4 boundary points by a chord; sequence gives number of regions in the resulting planar graph.

Original entry on oeis.org

4, 67, 406, 1441, 3796, 8299, 15982, 28081, 46036, 71491, 106294, 152497, 212356, 288331, 383086, 499489, 640612, 809731, 1010326, 1246081, 1520884, 1838827, 2204206, 2621521, 3095476, 3630979, 4233142, 4907281, 5658916, 6493771, 7417774, 8437057, 9557956, 10787011, 12130966
Offset: 0

Views

Author

Keywords

Comments

"In general position" implies that the internal lines (or chords) only have simple intersections. There is no interior point where three or more chords meet.
Note that although the number of k-gons in the graph will vary as the edge points change position, the total number of regions will stay constant as long as all internal vertices remain simple.

Crossrefs

Cf. A334698 (vertices), A367122 (edges), A255011, A367118.

Formula

Conjecture: a(n) = (17/2)*n^4 + 19*n^3 + (43/2)*n^2 + 14*n + 4.
a(n) = A367122(n) - A334698(n+1) + 1 by Euler's formula.

A367276 Place n equally spaced points on each side of a square, and join each of these points by a chord to the 3*n new points on the other three sides: sequence gives number of vertices in the resulting planar graph.

Original entry on oeis.org

4, 9, 69, 345, 1337, 2885, 7445, 12833, 23365, 36589, 64669, 80133, 138313, 176885, 233765, 312013, 455273, 513277, 741965, 819589, 1046245, 1310761, 1692961, 1772097, 2315289, 2713997, 3165125, 3552753, 4538845, 4602985, 6015561, 6432681, 7421345, 8550485, 9439621, 10063993, 12635769
Offset: 0

Views

Author

Scott R. Shannon, Nov 11 2023

Keywords

Comments

We start with the four corner points of the square, and add n further points along each edge. Including the corner points, we end up with n+2 points along each edge, and the edge is divided into n+1 line segments.
Each of the n points added to an edge is joined by 3*n chords to the points that were added to the other three edges. There are 6*n^2 chords.

Crossrefs

Cf. A367277 (interior vertices), A367278 (regions), A367279 (edges).
If the 4*n points are placed "in general position" instead of uniformly, we get sequences A334698, A367121, A367122.
If the 4*n points are placed uniformly and we also draw chords from the four corner points of the square to these 4*n points, we get A255011, A331448, A331449, A334690.

Formula

a(n) = A367279(n) - A367278(n) + 1 (Euler).

A367122 Place n points in general position on each side of a square, and join every pair of the 4*n+4 boundary points by a chord; sequence gives number of edges in the resulting planar graph.

Original entry on oeis.org

8, 124, 780, 2816, 7480, 16428, 31724, 55840, 91656, 142460, 211948, 304224, 423800, 575596, 764940, 997568, 1279624, 1617660, 2018636, 2489920, 3039288, 3674924, 4405420, 5239776, 6187400, 7258108, 8462124, 9810080, 11313016, 12982380, 14830028, 16868224, 19109640, 21567356
Offset: 0

Views

Author

Keywords

Comments

"In general position" implies that the internal lines (or chords) only have simple intersections. There is no interior point where three or more chords meet.
See A334698 and A367121 for images of the square.

Crossrefs

Cf. A334698 (vertices), A367121 (regions), A331448, A367119.

Formula

Conjecture: a(n) = 17*n^4 + 38*n^3 + 37*n^2 + 24*n + 8.
a(n) = A334698(n+1) + A367121(n) - 1 by Euler's formula.

A334697 a(n) is the number of interior points in the n-th figure shown in A255011 (meaning the figure with 4n points on the perimeter), counted with multiplicity.

Original entry on oeis.org

1, 50, 363, 1360, 3665, 8106, 15715, 27728, 45585, 70930, 105611, 151680, 211393, 287210, 381795, 498016, 638945, 807858, 1008235, 1243760, 1518321, 1836010, 2201123, 2618160, 3091825, 3627026, 4228875, 4902688, 5653985, 6488490, 7412131, 8431040, 9551553, 10780210, 12123755, 13589136, 15183505, 16914218, 18788835
Offset: 1

Views

Author

Keywords

Examples

			Scott Shannon's illustration for n=2 shows 29 interior intersection points, of which 20 are simple intersections, 8 are triple intersections, and one (the central point) is a 4-fold intersection. A point where d lines meet is equivalent to C(d,2) simple points. So a(2) = 20*1 + 8*3 + 1*6 = 50.
		

Crossrefs

Programs

  • PARI
    Vec(x*(1 + 45*x + 123*x^2 + 35*x^3) / (1 - x)^5 + O(x^30)) \\ Colin Barker, May 31 2020

Formula

Theorem: a(n) = n*(17*n^3-30*n^2+19*n-4)/2.
From Colin Barker, May 27 2020: (Start)
G.f.: x*(1 + 45*x + 123*x^2 + 35*x^3) / (1 - x)^5.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5) for n>5.
(End)

A367183 Table read by antidiagonals: Place k points in general position on each side of a regular n-gon and join every pair of the n*(k+1) boundary points by a chord; T(n,k) (n >= 3, k >= 0) gives number of vertices in the resulting planar graph.

Original entry on oeis.org

3, 12, 5, 72, 58, 10, 282, 375, 185, 19, 795, 1376, 1155, 451, 42, 1818, 3685, 4090, 2734, 938, 57, 3612, 8130, 10700, 9478, 5523, 1711, 135, 6492, 15743, 23235, 24463, 18858, 9981, 2943, 171, 10827, 27760, 44485, 52639, 48230, 33771, 16740, 4646, 341
Offset: 3

Views

Author

Keywords

Comments

"In general position" implies that the internal lines (or chords) formed from the n*k edge points only have simple intersections; there is no interior points where three or more such chords meet. Note that for even-n n-gons, with n>=6, the chords from the n corner points do create non-simple intersections.

Examples

			The table begins:
3, 12, 72, 282, 795, 1818, 3612, 6492, 10827, 17040, 25608, 37062, 51987,...
5, 58, 375, 1376, 3685, 8130, 15743, 27760, 45621, 70970, 105655, 151728,...
10, 185, 1155, 4090, 10700, 23235, 44485, 77780, 126990, 196525, 291335,...
19, 451, 2734, 9478, 24463, 52639, 100126, 174214, 283363, 437203, 646534,...
42, 938, 5523, 18858, 48230, 103152, 195363, 338828, 549738, 846510, 1249787,...
57, 1711, 9981, 33771, 85849, 182847, 345261, 597451, 967641, 1487919, 2194237,...
135, 2943, 16740, 56106, 141885, 301185, 567378, 980100, 1585251, 2434995,...
171, 4646, 26336, 87831, 221351, 468746, 881496, 1520711, 2457131, 3771126,...
341, 7128, 39666, 131450, 330165, 697686, 1310078, 2257596, 3644685, 5589980,...
313, 10204, 57199, 189214, 474361, 1000948, 1877479, 3232654, 5215369, 7994716,...
728, 14677, 80457, 264602, 661570, 1393743, 2611427, 4492852, 7244172,...
771, 19909, 109586, 359892, 898591, 1891121, 3540594, 6087796, 9811187,...
1380, 27030, 146565, 479370, 1194600, 2511180, 4697805, 8072940, 13004820,...
1393, 35085, 191353, 625477, 1557297, 3271213, 6116185, 10505733,......
.
.
.
		

Crossrefs

Cf. A367117 (first row), A334698 (second row), A007569 (first column), A366253 (regions), A367190 (edges).

Formula

T(n,k) = A367190(n,k) - A366253(n,k) + 1 by Euler's formula.
T(3,k) = A367117(k) = (9/4)*k^4 + 3*k^3 + (3/4)*k^2 + 3*k + 3.
Conjectured:
T(4,k) = A334698(k+1) = (17/2)*k^4 + 19*k^3 + (31/2)*k^2 + 10*k + 5.
T(5,k) = (45/2)*k^4 + 60*k^3 + 60*k^2 + (65/2)*k + 10.
T(6,k) = (195/4)*k^4 + (285/2)*k^3 + (627/4)*k^2 + 84*k + 19.
T(7,k) = (371/4)*k^4 + 287*k^3 + (1337/4)*k^2 + 182*k + 42.
T(8,k) = 161*k^4 + 518*k^3 + 627*k^2 + 348*k + 57.
T(9,k) = 261*k^4 + 864*k^3 + (2151/2)*k^2 + (1215/2)*k + 135.
T(10,k) = (1605/4)*k^4 + (2715/2)*k^3 + (6905/4)*k^2 + 990*k + 171.
Showing 1-5 of 5 results.