Is it possible?

Geometry Level 4

The median drawn to the hypotenuse of a right triangle divides the right angle in the ratio $$1:2$$ and it is equal to $$2015$$. Find the perimeter of the triangle.

If your answer comes as $$a+b\sqrt{c}$$ then submit it as $$a+b+c$$.

×