Sequence function for Number types

Issue #10