std.range.Sequence/sequence  - multiple declarations
				Function sequence
Sequence is similar to Recurrence except that iteration is
   presented in the so-called   closed form. This means that the nth element in the series is
   computable directly from the initial values and n itself. This
   implies that the interface offered by Sequence is a random-access
   range, as opposed to the regular Recurrence, which only offers
   forward iteration.
						
				auto sequence(alias fun, State...)
				(
				
				  State args
				
				);
						
					
				The state of the sequence is stored as a Tuple so it can be
   heterogeneous.
Example
Odd numbers, using function in string form:
auto odds = sequence!("a[0] + n * a[1]")(1, 2);
writeln(oddsExample
Triangular numbers, using function in lambda form:
auto tri = sequence!((a,n) => n*(n+1)/2)();
// Note random access
writeln(tri[0]); // 0
writeln(tri[3]); // 6
writeln(tri[1]); // 1
writeln(tri[4]); // 10
writeln(tri[2]); // 3
Example
Fibonacci numbers, using function in explicit form:
import stdStruct Sequence
Sequence is similar to Recurrence except that iteration is
   presented in the so-called   closed form. This means that the nth element in the series is
   computable directly from the initial values and n itself. This
   implies that the interface offered by Sequence is a random-access
   range, as opposed to the regular Recurrence, which only offers
   forward iteration.
						
				struct Sequence(alias fun, State)
				;
						
					
				The state of the sequence is stored as a Tuple so it can be
   heterogeneous.
Example
Odd numbers, using function in string form:
auto odds = sequence!("a[0] + n * a[1]")(1, 2);
writeln(oddsExample
Triangular numbers, using function in lambda form:
auto tri = sequence!((a,n) => n*(n+1)/2)();
// Note random access
writeln(tri[0]); // 0
writeln(tri[3]); // 6
writeln(tri[1]); // 1
writeln(tri[4]); // 10
writeln(tri[2]); // 3
Example
Fibonacci numbers, using function in explicit form:
import stdAuthors
Andrei Alexandrescu, David Simcha, Jonathan M Davis, and Jack Stouffer. Credit for some of the ideas in building this module goes to Leonardo Maffi.