Paper 4, Section I, D

Quantum Mechanics
Part IB, 2010

Determine the possible values of the energy of a particle free to move inside a cube of side aa, confined there by a potential which is infinite outside and zero inside.

What is the degeneracy of the lowest-but-one energy level?