Demography and Provisions for Retirement: The Pension Composition, an Equilibrium Approach