Infinite sums, Blanchard-Yaari OLG


I’m just trying to get started with Dynare and have a little problem with the syntax for infinite sums. See UserGuide, page 53.

How do I write an infinite sum in Dynare?

Thanks in advance,
Post1.pdf (42.2 KB)

problem solved…

how do you solve the problem?

The trick is usually to write the expression recursively.