In class yesterday I gave an overview of how to use the recursion to directly define mathematical sequences.
You can see a recording of the class here
Here is the notebook I used in class: sequences.ipynb
An interesting use of recursion when programming is to study the Collatz Conjecture. If you attempt this and would like me to take a look let me know.
Source code: @drvinceknight Powered by: Jekyll Github pages Bootsrap css