# Sequences > Standard library math iterators for generating sequences.
## Usage ```javascript var ns = require( '@stdlib/math/iter/sequences' ); ``` #### ns Standard library math iterators for generating sequences. ```javascript var iterators = ns; // returns {...} ``` The namespace contains the following functions for creating iterator protocol-compliant iterators:
- [`iterCompositesSeq( [options] )`][@stdlib/math/iter/sequences/composites]: create an iterator which generates a sequence of composite numbers. - [`iterCubesSeq( [options] )`][@stdlib/math/iter/sequences/cubes]: create an iterator which generates a sequence of cubes. - [`iterEvenIntegersSeq( [options] )`][@stdlib/math/iter/sequences/even-integers]: create an iterator which generates an interleaved sequence of even integers. - [`iterFactorialsSeq( [options] )`][@stdlib/math/iter/sequences/factorials]: create an iterator which generates a sequence of factorials. - [`iterFibonacciSeq( [options] )`][@stdlib/math/iter/sequences/fibonacci]: create an iterator which generates a Fibonacci sequence. - [`iterFifthPowersSeq( [options] )`][@stdlib/math/iter/sequences/fifth-powers]: create an iterator which generates a sequence of fifth powers. - [`iterFourthPowersSeq( [options] )`][@stdlib/math/iter/sequences/fourth-powers]: create an iterator which generates a sequence of fourth powers. - [`iterIntegersSeq( [options] )`][@stdlib/math/iter/sequences/integers]: create an iterator which generates an interleaved integer sequence. - [`iterLucasSeq( [options] )`][@stdlib/math/iter/sequences/lucas]: create an iterator which generates a Lucas sequence. - [`iterNegaFibonacciSeq( [options] )`][@stdlib/math/iter/sequences/negafibonacci]: create an iterator which generates a negaFibonacci sequence. - [`iterNegaLucasSeq( [options] )`][@stdlib/math/iter/sequences/negalucas]: create an iterator which generates a negaLucas sequence. - [`iterNegativeEvenIntegersSeq( [options] )`][@stdlib/math/iter/sequences/negative-even-integers]: create an iterator which generates a sequence of negative even integers. - [`iterNegativeIntegersSeq( [options] )`][@stdlib/math/iter/sequences/negative-integers]: create an iterator which generates a negative integer sequence. - [`iterNegativeOddIntegersSeq( [options] )`][@stdlib/math/iter/sequences/negative-odd-integers]: create an iterator which generates a sequence of negative odd integers. - [`iterNonFibonacciSeq( [options] )`][@stdlib/math/iter/sequences/nonfibonacci]: create an iterator which generates a non-Fibonacci integer sequence. - [`iterNonNegativeEvenIntegersSeq( [options] )`][@stdlib/math/iter/sequences/nonnegative-even-integers]: create an iterator which generates a sequence of nonnegative even integers. - [`iterNonNegativeIntegersSeq( [options] )`][@stdlib/math/iter/sequences/nonnegative-integers]: create an iterator which generates a nonnegative integer sequence. - [`iterNonPositiveEvenIntegersSeq( [options] )`][@stdlib/math/iter/sequences/nonpositive-even-integers]: create an iterator which generates a sequence of nonpositive even integers. - [`iterNonPositiveIntegersSeq( [options] )`][@stdlib/math/iter/sequences/nonpositive-integers]: create an iterator which generates a nonpositive integer sequence. - [`iterNonSquaresSeq( [options] )`][@stdlib/math/iter/sequences/nonsquares]: create an iterator which generates a sequence of nonsquares. - [`iterOddIntegersSeq( [options] )`][@stdlib/math/iter/sequences/odd-integers]: create an iterator which generates an interleaved sequence of odd integers. - [`iterPositiveEvenIntegersSeq( [options] )`][@stdlib/math/iter/sequences/positive-even-integers]: create an iterator which generates a sequence of positive even integers. - [`iterPositiveIntegersSeq( [options] )`][@stdlib/math/iter/sequences/positive-integers]: create an iterator which generates a positive integer sequence. - [`iterPositiveOddIntegersSeq( [options] )`][@stdlib/math/iter/sequences/positive-odd-integers]: create an iterator which generates a sequence of positive odd integers. - [`iterPrimesSeq( [options] )`][@stdlib/math/iter/sequences/primes]: create an iterator which generates a sequence of prime numbers. - [`iterSquaredTriangularSeq( [options] )`][@stdlib/math/iter/sequences/squared-triangular]: create an iterator which generates a sequence of squared triangular numbers. - [`iterSquaresSeq( [options] )`][@stdlib/math/iter/sequences/squares]: create an iterator which generates a sequence of squares. - [`iterTriangularSeq( [options] )`][@stdlib/math/iter/sequences/triangular]: create an iterator which generates a sequence of triangular numbers.
## Examples ```javascript var objectKeys = require( '@stdlib/utils/keys' ); var ns = require( '@stdlib/math/iter/sequences' ); console.log( objectKeys( ns ) ); ```