
06526658
j
2016a.00951
Wirth, Michael A.
The far side of recursion.
Teach. Math. Comput. Sci. 13, No. 1, 5771 (2015).
2015
,
EN
N70
P20
recursion
problem solving
Josephus
Hailstone
Ackermann
Summary: Recursion is somewhat of an enigma, and examples used to illustrate the idea of recursion often emphasize three algorithms: Towers of Hanoi, Factorial, and Fibonacci, often sacrificing the exploration of recursive behavior for the notion that a ``function calls itself''. Very little effort is spent on more interesting recursive algorithms. This paper looks at how three lesser known algorithms of recursion can be used in teaching behavioral aspects of recursion: The Josephus Problem, the Hailstone Sequence and Ackermann's Function.