Solution (source code)

= Solution

This is an <immigration--death process>. New individuals enter independently of the current population at the constant rate $\lambda$, producing transitions $n\to n+1$. Each existing individual dies at rate $\beta$, so the total transition rate $n\to n-1$ is $\beta n$.