A335016 Largest side lengths of equable Heronian triangles.
10, 13, 17, 20, 29
Offset: 1
Links
- Eric Weisstein's World of Mathematics, Heronian Triangle
- Wikipedia, Heronian triangle
- Wikipedia, Integer Triangle
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.
a(18) = 1, because only the triangle (9, 10, 17) satisfies the condition: A/(2*n) = 36/36 = 1. (9, 10, 17) is one of the five triangles for which the perimeter is equal to the area (see A098030). a(42) = 4, because exactly the 4 triangles (10, 35, 39) with A/(2*n) = 168/84 = 2, (14, 30, 40) with A/(2*n) = 168/84 = 2, (15, 34, 35) with A/(2*n) = 252/84 = 3 and (26, 28, 30) with A/(2*n) = 336/84 = 4 satisfy the condition. a(426) = 0, because no triangle satisfies the condition. Therefore, a(n) = 0 for all n for which n*k = 426 for positive integers k.
A370599 := proc(n) local u, v, w, A, q, i; i := 0; for u to floor(2/3*n) do for v from max(u, floor(n - u) + 1) to floor(n - 1/2*u) do w := 2*n - u - v; A := sqrt(n*(n - u)*(n - v)*(n - w)); if A = floor(A) then q := 1/2*A/n; if q = floor(q) then i := i + 1; end if; end if; end do; end do; return i; end proc; seq(A370599(n), n = 1 .. 87);
The areas or perimeters 16, 18, 20, 30 pertain respectively to cyclic quadrilaterals with sides (4, 4, 4, 4), (3, 3, 6, 6), (2, 5, 5, 8), (5, 5, 6, 14).
lst={}; Do[s=(a+b+c+d)/2; If[s>a, (K=Sqrt[(s-a)(s-b)(s-c)(s-d)]; If[IntegerQ[K]&&K==2s, AppendTo[lst, Sort@{a,b,c,d}]])], {a, 1, 15}, {b, 1, a}, {c, 1, b}, {d, 1, c}]; lst
Comments