OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Altitude
Wikipedia, Altitude (triangle)
Wikipedia, Integer Triangle
EXAMPLE
16 is in the sequence since it is the perimeter of the triangle [5,5,6], whose altitude from 6 (the longest side) is 4 (an integer).
18 is in the sequence since it is the perimeter of the triangle [5,5,8], whose altitude from 8 (the longest side) is 3 (an integer).
48 is in the sequence since it is the perimeter of the triangles [15,15,18] and [10,17,21], whose altitudes from their longest sides are 12 and 8 respectively (both integers).
MATHEMATICA
Flatten[Table[If[Sum[Sum[(1 - Ceiling[2*Sqrt[(n/2) (n/2 - i) (n/2 - k) (n/2 - (n - i - k))]/(n - i - k)] + Floor[2*Sqrt[(n/2) (n/2 - i) (n/2 - k) (n/2 - (n - i - k))]/(n - i - k)]) Sign[Floor[(i + k)/(n - i - k + 1)]], {i, k, Floor[(n - k)/2]}], {k, Floor[n/3]}] > 0, n, {}], {n, 100}]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Apr 09 2020
STATUS
approved