Resonant tunnelling is studied numerically and analytically with the help of a three-well quantum one-dimensional time-independent model. The simplest cases are considered where the three-well potential is polynomial or piecewise constant.