A336753 Largest side of integer-sided triangles whose sides a < b < c are in arithmetic progression.
4, 5, 7, 6, 8, 7, 10, 9, 8, 11, 10, 9, 13, 12, 11, 10, 14, 13, 12, 11, 16, 15, 14, 13, 12, 17, 16, 15, 14, 13, 19, 18, 17, 16, 15, 14, 20, 19, 18, 17, 16, 15, 22, 21, 20, 19, 18, 17, 16, 23, 22, 21, 20, 19, 18, 17, 25, 24, 23, 22, 21, 20, 19, 18, 26, 25, 24, 23, 22, 21, 20, 19
Offset: 1
Keywords
Examples
c = 4 only for the smallest triangle (2, 3, 4). c = 5 only for Pythagorean triple (3, 4, 5). c = 6 only for triple (4, 5, 6). c = 7 for the two triples (3, 5, 7) and (5, 6, 7).
References
- V. Lespinard & R. Pernet, Trigonométrie, Classe de Mathématiques élémentaires, programme 1962, problème B-290 p. 121, André Desvigne.
Links
- Paolo Xausa, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Maple
for b from 3 to 30 do for a from b-floor((b-1)/2) to b-1 do c := 2*b - a; print(c); end do; end do;
-
Mathematica
Flatten[Array[2*#-Range[#-Floor[(#-1)/2], #-1] &, 20, 3]] (* Paolo Xausa, Feb 28 2024 *)
Formula
a(n) = A336750(n, 3).
Comments