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-4 of 4 results.

A357277 Largest side c of primitive triples, in nondecreasing order, for integer-sided triangles with angles A < B < C = 2*Pi/3 = 120 degrees.

Original entry on oeis.org

7, 13, 19, 31, 37, 43, 49, 61, 67, 73, 79, 91, 91, 97, 103, 109, 127, 133, 133, 139, 151, 157, 163, 169, 181, 193, 199, 211, 217, 217, 223, 229, 241, 247, 247, 259, 259, 271, 277, 283, 301, 301, 307, 313, 331, 337, 343, 349, 361, 367, 373, 379, 397, 403, 403, 409, 421, 427, 427, 433, 439, 457
Offset: 1

Views

Author

Bernard Schott, Oct 01 2022

Keywords

Comments

For the corresponding primitive triples and miscellaneous properties and references, see A357274.
Solutions c of the Diophantine equation c^2 = a^2 + a*b + b^2 with gcd(a,b) = 1 and a < b.
Also, side c can be generated with integers u, v such that gcd(u,v) = 1 and 0 < v < u, c = u^2 + u*v + v^2.
Some properties:
-> Terms are primes of the form 6k+1, or products of primes of the form 6k+1.
-> The lengths c are in A004611 \ {1} without repetition, in increasing order.
-> Every term appears 2^(k-1) (k>=1) times consecutively.
-> The smallest term that appears 2^(k-1) times is precisely A121940(k): see examples.
-> The terms that appear only once in this sequence are in A133290.
-> The terms are the same as in A335895 but frequency is not the same: when a term appears m times consecutively here, it appears 2m times consecutively in A335895. This is because if (a,b,c) is a primitive 120-triple, then both (a,a+b,c) and (a+b,b,c) are 60-triples in A335893 (see Emrys Read link, lemma 2 p. 302).
Differs from A088513, the first 20 terms are the same then a(21) = 151 while A088513(21) = 157.
A050931 gives all the possible values of the largest side c, in increasing order without repetition, for all triangles with an angle of 120 degrees, but not necessarily primitive.

Examples

			c = 7 appears once because A121940(1) = 7 with triple (3,5,7) and 7^2 = 3^2 + 3*5 + 5^2.
c = 91 is the smallest term to appear twice because A121940(2) = 91 with primitive 120-triples (11, 85, 91) and (19, 80, 91).
c = 1729 is the smallest term to appear four times because A121940(3) = 1729 with triples (96, 1679, 1729), (249, 1591, 1729), (656, 1305, 1729), (799, 1185, 1729).
		

Crossrefs

Cf. A357274 (triples), A357275(smallest side), A357276 (middle side), A357278 (perimeter).

Programs

  • Maple
    for c from 5 to 500 by 2 do
    for a from 3 to c-2 do
    b := (-a + sqrt(4*c^2-3*a^2))/2;
    if b=floor(b) and gcd(a, b)=1 and a
    				

Formula

a(n) = A357274(n, 3).

A357274 List of primitive triples for integer-sided triangles with angles A < B < C and C = 2*Pi/3 = 120 degrees.

Original entry on oeis.org

3, 5, 7, 7, 8, 13, 5, 16, 19, 11, 24, 31, 7, 33, 37, 13, 35, 43, 16, 39, 49, 9, 56, 61, 32, 45, 67, 17, 63, 73, 40, 51, 79, 11, 85, 91, 19, 80, 91, 55, 57, 97, 40, 77, 103, 24, 95, 109, 13, 120, 127, 23, 120, 133, 65, 88, 133, 69, 91, 139, 56, 115, 151, 25, 143, 157, 75, 112, 163, 15, 161, 169, 104, 105, 181
Offset: 1

Author

Bernard Schott, Sep 22 2022

Keywords

Comments

The only triangles with integer sides that have an angle equal to a whole number of degrees are triangles which have an angle of 60° (A335893), or an angle of 90° (A263728) or an angle of 120° as here (see Keith Selkirk link, p. 251).
The triples are displayed in nondecreasing order of largest side c, and if largest sides coincide then by increasing order of the smallest side a, hence, each triple (a, b, c) is in increasing order.
The corresponding metric relation between sides is c^2 = a^2 + a*b + b^2.
The triples (a, b, c) can be generated with integers u, v such that gcd(u,v) = 1 and 0 < v < u:
-> a = u^2 - v^2
-> b = 2*u*v + v^2
-> c = u^2 + u*v + v^2.
Note that side c cannot be even when the triple is primitive as here.
The (3, 5, 7) triangle is the only primitive triangle with a 120-degree angle and with its integer sides in arithmetic progression (A336750). This smallest triple is obtained for u = 2 and v = 1.
The Fermat point of these triangles is vertex C, then distance FA+FB+FC = CA+CB = b+a is an integer.
If (a,b,c) is a primitive 120-triple, then both (a,a+b,c) and (a+b,b,c) are 60-triples in A335893, see Emrys Read link, lemma 2 p. 302.

Examples

			Table of triples begins:
   3,  5,  7;
   7,  8, 13;
   5, 16, 19;
  11, 24, 31;
   7, 33, 37;
............
(7, 8, 13) is a triple for this sequence because from the law of cosines (see link), cos(C) = (7^2 + 8^2 - 13^2)/(2*7*8) = -1/2.
		

Crossrefs

Cf. also A263728, A336750, A335893 (similar with an angle of Pi/3).

Programs

  • Maple
    for c from 5 to 181 by 2 do
    for a from 3 to c-2 do
    b := (-a + sqrt(4*c^2-3*a^2))/2;
    if b=floor(b) and gcd(a,b)=1 and a
    				

Extensions

a(31..33) = 40,51,79 inserted by Georg Fischer, Dec 04 2022

A357275 Smallest side of integer-sided primitive triangles whose angles satisfy A < B < C = 2*Pi/3.

Original entry on oeis.org

3, 7, 5, 11, 7, 13, 16, 9, 32, 17, 40, 11, 19, 55, 40, 24, 13, 23, 65, 69, 56, 25, 75, 15, 104, 32, 56, 29, 17, 87, 85, 119, 31, 72, 93, 64, 144, 19, 95, 133, 40, 136, 35, 105, 21, 105, 37, 111, 185, 88, 152, 176, 23, 80, 115, 161, 41, 123, 240, 48, 205, 240, 43, 25, 129, 175, 215, 88
Offset: 1

Author

Bernard Schott, Sep 23 2022

Keywords

Comments

The triples of sides (a,b,c) with a < b < c are in nondecreasing order of largest side c, and if largest sides coincide, then by increasing order of the smallest side. This sequence lists the a's.
For the corresponding primitive triples and miscellaneous properties and references, see A357274.
Solutions a of the Diophantine equation c^2 = a^2 + a*b + b^2 with gcd(a,b) = 1 and a < b.
Also, a is generated by integers u, v such that gcd(u,v) = 1 and 0 < v < u, with a = u^2 - v^2.
This sequence is not increasing. For example, a(2) = 7 for triangle with largest side = 13 while a(3) = 5 for triangle with largest side = 19.
Differs from A088514, the first 20 terms are the same then a(21) = 56 while A088514(21) = 25.
A229858 gives all the possible values of the smallest side a, in increasing order without repetition, but for all triples, not necessarily primitive.
All terms of A106505 are values taken by the smallest side a, in increasing order without repetition for primitive triples, but not all the lengths of this side a are present; example: 3 is not in A106505 (see comment in A229849).

Examples

			a(2) = a(5) = 7 because 2nd and 5th triple are respectively (7, 8, 13) and (7, 33, 37).
		

Crossrefs

Cf. A357274 (triples), this sequence (smallest side), A357276 (middle side), A357277 (largest side), A357278 (perimeter).

Programs

  • Maple
    for c from 5 to 181 by 2 do
    for a from 3 to c-2 do
    b := (-a + sqrt(4*c^2-3*a^2))/2;
    if b=floor(b) and gcd(a, b)=1 and a
    				

Formula

a(n) = A357274(n, 1).

A357276 Middle side of integer-sided primitive triangles whose angles satisfy A < B < C = 2*Pi/3 = 120 degrees.

Original entry on oeis.org

5, 8, 16, 24, 33, 35, 39, 56, 45, 63, 51, 85, 80, 57, 77, 95, 120, 120, 88, 91, 115, 143, 112, 161, 105, 175, 165, 195, 208, 160, 168, 145, 224, 203, 187, 221, 155, 261, 217, 192, 279, 209, 288, 247, 320, 272, 323, 280, 231, 315, 273, 259, 385, 357, 333, 304, 399, 352, 253, 407, 299, 287, 440
Offset: 1

Author

Bernard Schott, Sep 25 2022

Keywords

Comments

The triples of sides (a,b,c) with a < b < c are in nondecreasing order of largest side c, and if largest sides coincide, then by increasing order of the smallest side. This sequence lists the b's.
For the corresponding primitive triples and miscellaneous properties and references, see A357274.
Solutions b of the Diophantine equation c^2 = a^2 + a*b + b^2 with gcd(a,b) = 1 and a < b.
Also, b is generated by integers u, v such that gcd(u,v) = 1 and 0 < v < u, with b = 2*u*v + v^2.
This sequence is not increasing. For example, a(8) = 56 for triangle with largest side c = 61 while a(9) = 45 for triangle with largest side c = 67.
Differs from A088586, the first 20 terms are the same then a(21) = 115 while A088586(21) = 143.
A229849 gives all the possible values of the middle side b, in increasing order without repetition, for primitive triples, while A229859 gives all the possible values of the middle side b, in increasing order without repetition, but for all triples, not necessarily primitive.

Examples

			a(17) = a(18) = 120 since 17th and 18th triples are respectively (13, 120, 127) and (23, 120, 133).
		

Crossrefs

Cf. A357274 (triples), A357275 (smallest side), this sequence (middle side), A357277 (largest side), A357278 (perimeter).
Cf. also A088586, A229849, A229859.

Programs

  • Maple
    for c from 5 to 500 by 2 do
    for a from 3 to c-2 do
    b := (-a + sqrt(4*c^2-3*a^2))/2;
    if b=floor(b) and gcd(a,b)=1 and a
    				
Showing 1-4 of 4 results.