Our discussion suggests a general template for algorithms:
<#33615#>(d<#33615#><#33616#>efine<#33616#> <#33617#>(generative-recursive-fun<#33617#> <#33618#>problem)<#33618#>
<#33619#>(c<#33619#><#33620#>ond<#33620#>
<#33621#>[<#33621#><#33622#>(trivially-solvable?<#33622#> <#33623#>problem)<#33623#>
<#33624#>(determine-solution<#33624#> <#33625#>problem)]<#33625#>
<#33626#>[<#33626#><#33627#>else<#33627#>
<#33628#>(c<#33628#><#33629#>ombine-solutions<#33629#>
<#33630#>...<#33630#> <#33631#>problem<#33631#> <#33632#>...<#33632#>
<#33633#>(generative-recursive-fun<#33633#> <#33634#>(generate-problem-1<#33634#> <#33635#>problem))<#33635#>
<#33636#>#tex2html_wrap_inline73614#<#33636#>
<#33637#>(generative-recursive-fun<#33637#> <#33638#>(generate-problem-n<#33638#> <#33639#>problem)))]<#33639#><#33640#>))<#33640#>