OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Altitude
Wikipedia, Altitude (triangle)
Wikipedia, Integer Triangle
EXAMPLE
12 is in the sequence since it is the perimeter of the triangle [3,4,5], whose altitude from 4 (its "middle" side) is 3 (an integer).
24 is in the sequence since it is the perimeter of the triangle [6,8,10], whose altitude from 8 (its "middle" side) is 6 (an integer).
60 is in the sequence since it is the perimeter of the triangles [10,24,26] and [15,20,25], whose altitudes (from their "middle" sides) are 10 and 15 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))]/i] + Floor[2*Sqrt[(n/2) (n/2 - i) (n/2 - k) (n/2 - (n - i - k))]/i]) 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