Magic Triangle

Click each circle to type a number 1-5. No number is repeated along any of the drawn lines. The clues indicate the sum of the 3 circles touching that triangle.
Support for puzzles of size 6 has been added. They may take a minute to generate.
of size 5   6