You want a nice even spread to make sure that one generation of workers can train, and in some way pay, for the other. The worse your education system the more dependent on the older generation you are.
In Japan I think the problem is a slow rate of birth. So the fear is that the percentage of the population above 65 will increase until it breaks the economy.