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.

A331449 a(0) = 1 by convention; for n>0, a(n) is the number of points in the n-th figure shown in A255011 (meaning the figure with 4n points on the perimeter).

Original entry on oeis.org

1, 5, 37, 257, 817, 2757, 4825, 12293, 19241, 33549, 49577, 87685, 101981, 178465, 220113, 286357, 379097, 551669, 606241, 880293, 951445, 1209049, 1507521, 1947877, 2002669, 2624409, 3056093, 3550425, 3955049, 5069037, 5062153, 6669665, 7081969, 8143193, 9365089, 10296469
Offset: 0

Views

Author

N. J. A. Sloane, Jan 23 2020

Keywords

Comments

Equivalently, this is A334690(n) + 4*n.

Crossrefs

For the circular analog see A006533, A007678, A007569, A135565.

Formula

By Euler's formula, a(n) = A331448(n) - A255011(n) + 1.

Extensions

a(11)-a(35) from Giovanni Resta, Jan 28 2020

A334691 Irregular triangle read by rows: T(n,k) (n >= 1, 2 <= k <= 2*n) = number of interior vertices in the n-th figure shown in A255011 (meaning the figure with 4n points on the perimeter) where k lines meet.

Original entry on oeis.org

1, 20, 8, 1, 204, 32, 8, 0, 1, 616, 152, 20, 8, 4, 0, 1, 2428, 252, 36, 16, 4, 0, 0, 0, 1, 3968, 572, 156, 72, 16, 8, 4, 0, 4, 0, 1, 11164, 900, 120, 52, 16, 8, 4, 0, 0, 0, 0, 0, 1, 16884, 1712, 396, 132, 40, 20, 8, 8, 8, 0, 0, 0, 0, 0, 1, 30116, 2536, 600, 140, 60, 24, 8, 20, 8, 0, 0, 0, 0, 0, 0, 0, 1
Offset: 1

Views

Author

Keywords

Comments

No formula is known.

Examples

			Triangle begins:
1;
20,8,1;
204,32,8,0,1;
616,152,20,8,4,0,1;
2428,252,36,16,4,0,0,0,1;
3968,572,156,72,16,8,4,0,4,0,1;
11164,900,120,52,16,8,4,0,0,0,0,0,1;
16884,1712,396,132,40,20,8,8,8,0,0,0,0,0,1;
30116,2536,600,140,60,24,8,20,8,0,0,0,0,0,0,0,1;
43988,4056,948,312,84,56,52,20,,8,0,0,4,0,0,0,0,0,1;
82016,4660,580,228,48,84,4,4,4,8,4,0,0,0,0,0,0,0,0,0,1;
90088,8504,1840,780,424,128,68,32,32,0,0,8,24,0,0,0,4,0,0,0,0,0,1;
168360,8284,1056,396,128,100,52,12,4,4,4,8,4,0,0,0,0,0,0,0,0,0,0,0,1;
202332,13144,2980,924,256,144,140,60,44,4,0,8,8,8,0,0,4,0,0,0,0,0,0,0,0,0,1;
...
		

Crossrefs

Cf. A255011, A331449, A334690 (row sums), A334692 (column k=2), A334693 (k=3), A334694-A334699.

A334698 a(n) is the total number of points (both boundary and interior points) in the n-th figure shown in A255011 (meaning the figure with 4n points on the perimeter), where the interior points are counted with multiplicity.

Original entry on oeis.org

5, 58, 375, 1376, 3685, 8130, 15743, 27760, 45621, 70970, 105655, 151728, 211445, 287266, 381855, 498080, 639013, 807930, 1008311, 1243840, 1518405, 1836098, 2201215, 2618256, 3091925, 3627130, 4228983, 4902800, 5654101, 6488610, 7412255, 8431168, 9551685, 10780346, 12123895, 13589280, 15183653, 16914370, 18788991
Offset: 1

Views

Author

Keywords

Comments

An equivalent definition: Place n-1 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 vertices in the resulting planar graph. "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. - Scott R. Shannon and N. J. A. Sloane, Nov 05 2023
Equivalently, this is A334697(n) + 4*n.
This is an upper bound on A331449.

Crossrefs

For the "general position" version, see also A367121 (regions), A367122 (edges), and A367117.

Programs

  • Mathematica
    A334698[n_]:=n(17n^3-30n^2+19n+4)/2;Array[A334698,50] (* or *)
    LinearRecurrence[{5,-10,10,-5,1},{5,58,375,1376,3685},50] (* Paolo Xausa, Nov 14 2023 *)
  • PARI
    Vec(x*(5 + 33*x + 135*x^2 + 31*x^3) / (1 - x)^5 + O(x^40)) \\ 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*(5 + 33*x + 135*x^2 + 31*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)
a(n+1) = A367122(n) - A367121(n) + 1 by Euler's formula.

Extensions

Edited by N. J. A. Sloane, Nov 13 2023

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).

A334699 Triangle read by rows: T(n,k) (n >= 1, 3 <= k <= n+2) = number of k-sided cells in the n-th figure shown in A255011 (meaning the figure with 4n points on the perimeter).

Original entry on oeis.org

4, 48, 8, 204, 112, 24, 680, 384, 56, 0, 1660, 1072, 448, 76, 8, 3416, 2392, 400, 56, 0, 0, 6348, 5236, 1840, 504, 40, 0, 0, 11048, 8624, 2800, 408, 24, 0, 0, 0, 17708, 14976, 4960, 1004, 96, 4, 0, 0, 0, 27520, 22200, 7104, 1288, 136, 8, 0, 0, 0, 0, 40388, 35832, 15080, 3808, 488, 60, 0, 0, 0, 0, 0
Offset: 1

Views

Author

Keywords

Comments

No formula is known.
For further illustrations see A331452.

Examples

			Triangle begins:
      4;
     48,     8;
    204,   112,    24;
    680,   384,    56,    0;
   1660,  1072,   448,   76,    8;
   3416,  2392,   400,   56,    0,   0;
   6348,  5236,  1840,  504,   40,   0,  0;
  11048,  8624,  2800,  408,   24,   0,  0, 0;
  17708, 14976,  4960, 1004,   96,   4,  0, 0, 0;
  27520, 22200,  7104, 1288,  136,   8,  0, 0, 0, 0;
  40388, 35832, 15080, 3808,  488,  60,  0, 0, 0, 0, 0;
  57360, 47160, 13856, 2272,  296,  16,  0, 0, 0, 0, 0, 0;
  79108, 73572, 30800, 7788, 1152, 200, 16, 0, 0, 0, 0, 0, 0;
...
		

Crossrefs

Extensions

a(29) and beyond by Scott R. Shannon, Feb 18 2021

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)

A334700 Triangle read by rows: T(n,k) (n >= 1, 3 <= k <= n+2) = one-quarter of the number of k-sided cells in the n-th figure shown in A255011 (meaning the figure with 4n points on the perimeter).

Original entry on oeis.org

1, 12, 2, 51, 28, 6, 170, 96, 14, 0, 415, 268, 112, 19, 2, 854, 598, 100, 14, 0, 0, 1587, 1309, 460, 126, 10, 0, 0
Offset: 1

Views

Author

Keywords

Comments

This is the triangle in A334699 with all entries divided by 4.
No formula is known.
For illustrations see A331452.

Examples

			Triangle begins:
1,
12, 2,
51, 28, 6,
170, 96, 14, 0,
415, 268, 112, 19, 2,
854, 598, 100, 14, 0, 0,
1587, 1309, 460, 126, 10, 0, 0
...
		

Crossrefs

Showing 1-7 of 7 results.