Qurak

FindRepeat

Available

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}

Topics

Related

All 6300 functions · Use this from an MCP client