There are two versions (Matlab and Julia) but they do the same things. Please refer to the readme file contained in each folder for more details.
Oxford Bulletin of Economics and Statistics (2022)
Matsuoka Hideaki
By Miyoshi Yoshiyuki and Toda Alexis Akira
Journal of Mathematical Economics (2017)
We show that in overlapping generations endogenous growth models with uncertain lifetime, the introduction of government transfers always increases economic growth by crowding out the private annuity market and increasing accidental bequests. In particular, if the government imposes a flat-rate consumption tax (which is neutral to the consumption–saving margin), uses part of the tax revenue for unproductive purposes, and rebates the rest equally across agents as a lump-sum transfer, the economy grows faster and improves the welfare of future generations.
Miyoshi Y. and Toda A. (2017) Growth Effects of Annuities and Government Transfers in Perpetual Youth Models. Journal of Mathematical Economics, 72, 1-6.