This paper shows the effects on a pay-as-you-go pension system of the demographic change in the standard overlapping generations model. Firstly, we consider a setting with exogenous fertility and then a model with endogenous fertility. In both cases, population ageing due to increased longevity...