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.

Previous Showing 21-23 of 23 results.

A309361 Numbers n such that the number of interior intersection points A091908(n) of the n-intersected triangle increases exactly by 1 when the subdivision of the triangle is refined from n-1 to n cutting line segments.

Original entry on oeis.org

1, 3, 5, 7, 9, 11, 13, 17, 21, 25, 27, 31, 33, 37, 43, 49, 51, 53, 55, 57, 61, 67, 73, 81, 93, 97, 101, 107, 113, 115, 121, 123, 127, 133, 137, 141, 145, 147, 157, 163, 173, 177, 183, 185, 193, 201, 205, 211, 213, 217, 235, 241, 243, 249, 253, 257
Offset: 1

Views

Author

Hugo Pfoertner, Jul 26 2019

Keywords

Examples

			a(1) = 1 corresponds to change from the triangle without cutting line segments and correspondingly A091908(1)=0 interior intersection points to the triangle where the sides are divided into 2 equal pieces and the 3 line segments connecting the midpoints of the sides with the opposite vertices cutting each other in one common point, the center of gravity. (A091908(2)=1). Thus A091908(2) - A091908(1) = 1 -> a(1) = 1.
a(2) = 3 because the trisected triangle has one less interior intersection point (A091908(3) = 12) than the 4-sected triangle (A091908(4) = 13) -> a(2) = 3.
		

Crossrefs

Formula

A091908(a(n) + 1) = A091908(a(n)) + 1.

A125641 Square of the (3,1)-entry of the 3 X 3 matrix M^n, where M = [1,0,0; 1,1,0; 1,i,1].

Original entry on oeis.org

1, 5, 18, 52, 125, 261, 490, 848, 1377, 2125, 3146, 4500, 6253, 8477, 11250, 14656, 18785, 23733, 29602, 36500, 44541, 53845, 64538, 76752, 90625, 106301, 123930, 143668, 165677, 190125, 217186, 247040, 279873, 315877, 355250, 398196, 444925
Offset: 1

Views

Author

Gary W. Adamson, Nov 28 2006

Keywords

Comments

Conjecture [False!]: Draw the segments joining every lattice point on axis X with every lattice point on axis Y for 1 <= x <= n and 1 <= y <= n. The number of regions formed with these segments and axis X and Y is a(n). - César Eliud Lozada, Feb 14 2013
The above conjecture appears to be wrong. The number of regions formed by this construction is given in A332953, which differs from this sequence for n > 5. - Scott R. Shannon, Mar 04 2020

Examples

			a(5)=25 because M^5 = [1,0,0; 5,1,0; 5+10i, 5i, 1] and |5+10i|^2 = 125.
		

Crossrefs

Programs

  • GAP
    List([1..40],n-> n^2*(n^2-2*n+5)/4); # Muniru A Asiru, Feb 22 2019
    
  • Magma
    [n^2*(n^2-2*n+5)/4: n in [1..40]]; // G. C. Greubel, Feb 22 2019
    
  • Maple
    b[1]:=1: b[2]:=2+I: b[3]:=3+3*I: for n from 4 to 45 do b[n]:=3*b[n-1]-3*b[n-2]+b[n-3] od: seq(abs(b[j])^2,j=1..45);
    with(linalg): M[1]:=matrix(3,3,[1,0,0,1,1,0,1,I,1]): for n from 2 to 45 do M[n]:=multiply(M[1],M[n-1]) od: seq(abs(M[j][3,1])^2,j=1..45);
    seq(sum((binomial(n,m))^2,m=1..2),n=1..37); # Zerinvary Lajos, Jun 19 2008
    # alternative Maple program:
    a:= n-> abs((<<1|0|0>, <1|1|0>, <1|I|1>>^n)[3,1])^2:
    seq(a(n), n=1..40);  # Alois P. Heinz, Mar 09 2020
  • Mathematica
    Table[n^2(n^2-2n+5)/4,{n,40}] (* Vincenzo Librandi, Feb 14 2012 *)
  • PARI
    vector(40, n, n^2*(n^2-2*n+5)/4) \\ G. C. Greubel, Feb 22 2019
    
  • Sage
    [n^2*(n^2-2*n+5)/4 for n in (1..40)] # G. C. Greubel, Feb 22 2019

Formula

a(n) = |b(n)|^2, where b(n) = 3b(n-1) - 3b(n-2) + b(n-3) for n >= 4; b(1)=1, b(2)=2+i, b(3)=3+3i (the recurrence relation follows from the minimal polynomial t^3 - 3t^2 + 3t - 1 of the matrix M).
a(n) = n^2*(n^2 - 2*n + 5)/4. - T. D. Noe, Feb 09 2007
O.g.f.: x*(1 + 3*x^2 + 2*x^3)/(1-x)^5. - R. J. Mathar, Dec 05 2007
a(n) = binomial(n,2)^2 + n^2, n > 1. - Gary Detlefs, Nov 23 2011
E.g.f.: x*(4 +6*x +4*x^2 +x^3)*exp(x)/4. - G. C. Greubel, Feb 22 2019

Extensions

Edited by Emeric Deutsch, Dec 27 2006
Definition revised by N. J. A. Sloane, Mar 05 2020

A356119 Irregular table read by rows: T(n,k) is the number of k-sided polygons formed, for k>=3, in an equilateral triangle when straight line segments connect the three corner vertices to the points dividing the sides into n equal parts.

Original entry on oeis.org

1, 6, 12, 3, 3, 1, 24, 6, 36, 9, 9, 7, 48, 24, 6, 72, 21, 15, 19, 84, 48, 12, 6, 108, 51, 33, 25, 132, 78, 18, 18, 168, 69, 51, 43, 180, 120, 48, 18, 216, 135, 57, 61, 252, 156, 66, 36, 294, 159, 105, 67, 312, 234, 84, 48, 372, 225, 117, 103, 408, 264, 138, 60, 456, 291, 159, 121, 486, 372, 138, 84
Offset: 1

Views

Author

Scott R. Shannon, Jul 27 2022

Keywords

Comments

The maximum sided k-gon up to n = 250 is the 6-gon; it is likely this is the maximum sided k-gon for all n.
See A092098 for more images of the triangle.

Examples

			The table begins:
1;
6;
12,  3,   3,   1;
24,  6;
36,  9,   9,   7;
48,  24,  6;
72,  21,  15,  19;
84,  48,  12,  6;
108, 51,  33,  25;
132, 78,  18,  18;
168, 69,  51,  43;
180, 120, 48,  18;
216, 135, 57,  61;
252, 156, 66,  36;
294, 159, 105, 67;
312, 234, 84,  48;
372, 225, 117, 103;
408, 264, 138, 60;
456, 291, 159, 121;
486, 372, 138, 84;
.
.
See the attached text file for more examples.
		

Crossrefs

Cf. A092098 (regions), vertices (A331782), edges (A332376), A335413.

Formula

Sum of row(n) = A092098(n).
Previous Showing 21-23 of 23 results.