AllSequences[n]⟹sequences
returns a list of all possible sequences of length n.
Given a length, all sequences will generate a list of every sequence of that length:
Lengths must be equal to or greater than one:
Providng a list of excluded Monomers or subsequences will only generate sequences that do not contain these Monomers or subsequences:
Explicit typing can be requested though the ExplicitlyTyped option:
Works on any known polymer type:
Including Non-nucleic acids like peptides:
The function is listable by the length of the sequences:
Function is listable:
If too large a space of solutions is requested, the TooMany error will be thrown:
Length zero returns an empty list: