SICP Solutions

Chapter 3, Modularity, Objects, and State

Exercise 3.54

Lets first check the output:

Note we need, $n^{th}$ element to be $(n+1)!$.

The code relevant for this exercise is at the top. However I am including the complete code.