A student prepares propylamine by heating 1-bromopropane with excess ammonia in ethanol under pressure. The resulting mixture contains propylamine, dipropylamine, and tripropylamine.
Explain why a mixture of amines is produced and state the purpose of using a high pressure and an excess of ammonia.