Solution of the Schrödinger equation for a particle in an equilateral triangle