how to write recursive formula and give one example of one

Since this is not my area of expertise, I searched Google under the key words "recursive formulas" to get these possible sources:

https://www.google.com/search?client=safari&rls=en&q=recursive+formulas&ie=UTF-8&oe=UTF-8&gws_rd=ssl

In the future, you can find the information you desire more quickly, if you use appropriate key words to do your own search. Also see http://hanlib.sou.edu/searchtools/.