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.

A251607 Number of non-congruent integer triangles ABC with largest side BC of length n whose opposite vertex A lies inside the closed boundary formed by BC and a locus of points whose real distance from B is x, from C is y and x^3 + y^3 = n^3.

Original entry on oeis.org

0, 0, 1, 2, 3, 5, 8, 10, 14, 16, 20, 24, 29, 35, 39, 45, 51, 58, 66, 71, 80, 87, 97, 104, 115, 124, 133, 145, 154, 166, 178, 189, 202, 213, 228, 241, 254, 269, 283, 297, 315, 329, 346, 361, 380, 396, 413, 431, 450, 470, 487, 508, 528, 548, 569, 588, 613, 632, 655, 677, 701
Offset: 1

Views

Author

Frank M Jackson, Dec 05 2014

Keywords

Comments

Acute integer triangles ABC with longest side BC of length n (A247588) are segregated from obtuse or right integer triangles with the same longest side BC (A236384) by the closed boundary formed by a semicircle and BC as its diameter. The right integer triangles will lie on this boundary and the obtuse integer triangles within this boundary. Define a closed boundary S(q) that is formed by BC and a locus of points whose real distance from B is x, from C is y and x^q + y^q = n^q for integer q > 0. Then S(2) is that closed boundary formed by a semicircle with BC as diameter. Euler proved that there are no integer triangles that lie on S(3) and Wiles for all S(q) where q > 2. This sequence identifies all integer triangles with longest side BC of length n that lie inside S(3).

Examples

			a(5)=3 as there are 3 non-congruent integer triangles with base length of 5 whose apex lies inside S(3). The integer triples are (3,3,5), (2,4,5), (3,4,5). The other triangles from the complete set of non-congruent integer triangles with longest side length 5 (A002620(5+1)) are (4,4,5), (1,5,5), (2,5,5), (3,5,5), (4,5,5), (5,5,5) and lie outside the closed boundary.
		

Crossrefs

Programs

  • GeoGebra
    n = Slider(1, 20, 1);
    L = Flatten(Sequence(Sequence(((a^2+n^2-(n-a+k)^2)/(2n),((a+(n-a+k)+n)(a+(n-a+k)-n)(a-(n-a+k)+n)(-a+(n-a+k)+n))^(1/2)/(2n)),a,k,(n+k)/2),k,1,n));
    p = 3;
    C = Curve((a^2+n^2-(n^p-a^p)^(2/p))/(2n),((a+(n^p-a^p)^(1/p)+n)(a+(n^p-a^p)^(1/p)-n)(a-(n^p-a^p)^(1/p)+n)(-a+(n^p-a^p)^(1/p)+n))^(1/2)/(2n),a,0,n);
    a_n = CountIf((x(A)^2+y(A)^2)^(p/2)+((n-x(A))^2+y(A)^2)^(p/2)Frank M Jackson, Jan 02 2024
  • Mathematica
    sumtriangles[c_] := (n = 0; Do[If[a^3+b^3c, n++], {b, 1, c}, {a, 1, b}]; n); Table[sumtriangles[m], {m, 1, 200}]

A236533 Number of non-congruent Heronian triangles with base length n whose apex lies on or within a space bounded by a semicircle of diameter n.

Original entry on oeis.org

0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 2, 1, 2, 0, 0, 3, 1, 0, 0, 2, 3, 2, 0, 0, 2, 5, 0, 1, 0, 2, 2, 0, 4, 0, 4, 5, 2, 2, 0, 2, 3, 0, 0, 4, 0, 4, 6, 6, 3, 0, 1, 2, 0, 3, 0, 8, 2, 0, 2, 1, 8, 1, 0, 4, 1, 4, 0, 2, 5, 6, 9, 0, 1, 5, 0, 8, 0, 4, 0, 2, 9
Offset: 1

Views

Author

Frank M Jackson, Jan 28 2014

Keywords

Examples

			a(20)=3 as there are 3 non-congruent Heronian triangles with base length of 20 whose apex lies on or within the space bounded by a semicircle of diameter 20. The integer triples are (7,15,20), (11,13,20), (12,16,20).
		

Crossrefs

Cf. A236384.

Programs

  • Mathematica
    gettriangles[c_] := (s=(a+b+c)/2; area2=s(s-a)(s-b)(s-c); n=0; Do[If[IntegerQ[Sqrt[area2]]&&a+b>c&&a^2+b^2<=c^2, n++], {b, 1, c}, {a, 1, b}]; n); Table[gettriangles[m], {m, 1, 200}]

A370778 Number of non-congruent integer triangles ABC with largest side BC of length n whose opposite vertex A lies inside or on the closed boundary formed by BC and a locus of points A' such that the triangle A'BC has tan A'/2 + tan B/2 + tan C/2 = 2.

Original entry on oeis.org

0, 0, 0, 0, 2, 2, 3, 4, 6, 7, 8, 9, 13, 15, 17, 19, 23, 26, 28, 31, 36, 39, 42, 46, 51, 55, 58, 63, 70, 74, 79, 83, 92, 97, 102, 107, 116, 121, 127, 133, 143, 149, 156, 163, 174, 181, 187, 195, 205, 213, 220, 229, 240, 248, 257, 269, 279, 289, 298, 306, 320, 330, 340, 350, 366, 375, 385, 396, 412, 424, 435, 448, 462, 474, 487
Offset: 1

Views

Author

Frank M Jackson, Mar 01 2024

Keywords

Comments

The boundary formed by BC and a locus of points A' such that triangle A'BC has tan A'/2 + tan B/2 + tan C/2 = 2 approximates a semi-ellipse with major axis BC = n and minor axis 3n/4. See Soddyian triangle link below for exact curve formula.
Integer triangles ABC with semitangents tan A/2 + tan B/2 + tan C/2 = 2 that lie on the boundary have outer Soddy circles that have degenerated into straight lines. Such triangles are Heronian and their sides a <= b <= c are constrained by 1/sqrt(s-c) = 1/sqrt(s-b) + 1/sqrt(s-a) where s is the triangle's semiperimeter. This sequence is the number of integer triangles with base length BC = n such that their semitangents tan A/2 + tan B/2 + tan C/2 >= 2. Integer triangles within the boundary have outer Soddy circles with negative curvature. Those outside the boundary have outer Soddy circles with positive curvature. Those that lie on the boundary have outer Soddy circles with zero curvature, i.e., their outer Soddy circles have degenerated into straight lines.
Furthermore, "An integer triangle ABC has exactly one isoperimetric point J1 and exactly one point of equal detour J2 if and only if tan A/2 + tan B/2 + tan C/2 < 2; it has exactly two equal detour points D1 and D2 and no isoperimetric point if and only if tan A/2 + tan B/2 + tan C/2 > 2; it has exactly one equal detour point D and no isoperimetric point if and only if tan A/2 + tan B/2 + tan C/2 = 2. In the first case, J1 and J2 coincide with the centers of the outer and inner Soddy circles, respectively. In the second case, D1 and D2 are the centers of the two Soddy circles. In the third case, D is the center of the inner Soddy circle, while the outer Soddy circle is a straight line." (Quoted from Hajja, Yff paper - see link below.)

Examples

			a(8)=4 as there are 3 non-congruent integer triangles with base length of 8 whose apex lies inside the boundary and one non-congruent integer triangle that lies on the boundary. The integer triples are (4, 5, 8), (5, 5, 8), (3, 6, 8), (2, 7, 8) with (5, 5, 8) lying on the boundary. There are 16 other triangles from the complete set of non-congruent integer triangles with largest side length 8 (A002620(8+1)) = 20 that are outside the boundary.
		

Crossrefs

Programs

  • Mathematica
    striangles[c_] :=  Module[{lst={}, a, b, s, A, ta, tb, tc}, Do[If[a+b>c, (s=(a+b+c)/2; A=Sqrt[s(s-a)(s-b)(s-c)]; ta=A/(s(s-a)); tb=A/(s(s-b)); tc=A/(s(s-c)); If[ta+tb+tc>=2, AppendTo[lst, {a, b, c}]])], {b, 1, c}, {a, 1, b}]; lst]; Table[Length@striangles[n], {n, 1, 100}]
Showing 1-3 of 3 results.