Element - K - Factors / Substrings / Prefixes
Characters:
K
Description
Get either the factors of a, substrings that occur more than once, or prefixes
Overloads
num-divisors(a) (positive integer factors)str-all non-empty substrings of a that occur more than once in alst-prefixes(a) (prefixes)
Examples
20 K=⟨1|2|4|5|10|20⟩1 K=⟨1⟩-1 K=⟨-1⟩-12 K=⟨-1|-2|-3|-4|-6|-12⟩0 K=⟨⟩`adbcdbcd` K=⟨`d`|`db`|`dbc`|`b`|`bc`|`bcd`|`c`|`cd`⟩⟨1|2|3⟩ K=⟨⟨1⟩|⟨1|2⟩|⟨1|2|3⟩⟩