Princeton Review

Construct a recursive function for a sequence represented numerically.