robert-7 / Hofstadter

Hofstadter Application for Recursions
0 stars 0 forks source link

set R(n) to be any constant for n<=0 #9

Closed robert-7 closed 9 years ago

robert-7 commented 9 years ago

Tanny - Friday, March 13 It would be great if we could set R(n) to be any constant for n<=0, rather than just 0. In particular, it would be good if we could allow a negative integer or a positive integer. If this is too hard, then allowing say 1 or -1 as alternatives to 0 would be a good start.

Example: R(-2)=1 R(-1)=2 R(0)=3