The triangle as a mathematical object