recurrence!("a[n-1] + a[n-2]")(1, 2) .take(10) .writeln;
This writes ten numbers to the command line which is fair enough but what would be the preferred method to keep building the range until an element calculated is above a particular value.
recurrence!("a[n-1] + a[n-2]")(1, 2) .take(10) .writeln;
This writes ten numbers to the command line which is fair enough but what would be the preferred method to keep building the range until an element calculated is above a particular value.