Whitesnow interview question

Recursion and mathematical expression