P482
projecteuler.net

The Incenter of a Triangle

ℹ️Published on Sunday, 28th September 2014, 07:00 am; Solved by 248;
Difficulty rating: 85%

$ABC$ is an integer sided triangle with incenter $I$ and perimeter $p$.
The segments $IA$, $IB$ and $IC$ have integral length as well.

Let $L = p + |IA| + |IB| + |IC|$.

Let $S(P) = \sum L$ for all such triangles where $p \le P$. For example, $S(10^3) = 3619$.

Find $S(10^7)$.



Soluzione

Last modified: May 01, 2025. Website built with Franklin.jl and the lovely Julia programming language.