I can't understand the behavior of my vector in this recursion function

Printable View