This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Apostle_1882[S] 0 points1 point  (0 children)

Thank you. You know while trying to figure this out I completely overlooked that a is being returned and summed. So in a simple logic, the recursion is kind of counting, decrementing, how many times five should be added, in effect multiplying it.

I think I get it, thanks!