far side of recursion
Fájlok
Dátum
2015-06-01
Szerzők
Folyóirat címe
Folyóirat ISSN
Kötet címe (évfolyam száma)
Kiadó
Absztrakt
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.
Leírás
Kulcsszavak
recursion, problem solving, Josephus, Hailstone, Ackermann
Forrás
Teaching Mathematics and Computer Science, Vol. 13 No. 1 (2015)
, 57-71