login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A305888
Numbers that are the perimeter of a Heronian triangle, but not of a primitive Heronian triangle.
0
24, 88, 280, 472, 558, 664, 696, 852, 856, 1048, 1432, 1720, 1816, 2008, 2180, 2292, 2680, 2776, 2868, 3144, 3352, 3544, 3576, 3582, 3732, 3736, 3860, 3928, 4192, 4308, 4504, 4696, 4878, 4976, 5080, 5172, 5272, 5464, 5598, 5748, 6520, 6616, 6740, 6744, 7188
OFFSET
1,1
COMMENTS
Numbers in A051518 that are not in A096468.
LINKS
Eric Weisstein's World of Mathematics, Heronian Triangle
EXAMPLE
The only Heronian triangle with perimeter 24 has sides {6, 8, 10} and thus it is not primitive. Hence 24 is in the sequence.
MATHEMATICA
hpp[p_] := Catch@Block[{t=0, c, q=p/2}, Do[c = p-a-b; If[c >= b && a+c > b && a+b > c && IntegerQ@ Sqrt[q (q-a) (q-b) (q-c)], t++; If[GCD[a, b, c] == 1, Throw@ False]], {a, p/3}, {b, a, p-a-1}]; t > 0]; Select[2 Range[350], hpp]
CROSSREFS
Sequence in context: A044211 A044592 A211632 * A233644 A010012 A256718
KEYWORD
nonn
AUTHOR
Giovanni Resta, Jun 14 2018
STATUS
approved