Module sequence

Module sequence 

Source
Expand description

Functions to determine the specified term of particular sequences.

Structsยง

Fib
Returns the nth term of the Fibonacci sequence, using a fast doubling algorithm with O(log n) complexity, extended to support negative indices.