Qurak

FindRepeat

Disponible

Finds the shortest repeating sub-sequence that tiles a list string or association

FindRepeat[list]
FindRepeat[list, n]
FindRepeat[list, {n1, n2, …}]
FindRepeat["string"]
FindRepeat["string", n]
FindRepeat[{1, 2, 1, 2, 1, 2, 1, 2}, 4] → {1, 2}FindRepeat[{1, 2, 1, 2, 1, 2, 1, 2}, 5] → {}FindRepeat[{1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3}] → {1, 2, 3, 4}

Thèmes

Connexes

Les 6300 fonctions · Utiliser ceci depuis un client MCP