Hello, I have this recursion: . I don't really know how to solve this kind of recursion... I tried to do it with generating functions but I couldn't effectively deal with the squared term. Could somebody give me a tip on how to get started on finding a closed form (if you want you can start with r=1. and I'll go from there)? Or at least point me in the direction of some useful website? Thanks!