Cross-posted to MO.
I have thought of an interesting math problem while looking through the code golf website. It is concerning the challenge Decipher a squashed sequence.
Here is a quick rundown of what a squashed sequence is:
Take a sequence of ascending consecutive positive integers (of which there are at least two numbers), and concatenate them into one string. The concatenated result is a squashed sequence.
The challenge asks you to reverse the process. Essentially, given a squashed sequence, you have to return the list of integers that formed the squashed sequence.
For example, given the squashed sequence "$1011121314$", the output would be $[10,11,12,13,14]$.
My question is: Does there exist a squashed sequence which can be formed by more than one set of numbers (at least two numbers in each set)? If so, give an example of such a squashed sequence. Otherwise, why not?
I wrote some c++ code that attempts to find an ambiguous string by brute force. The code works for multiple bases (such as base-10, which the original problem uses, or base-2 binary). Based on my runs, if ambiguous strings exist, they must rely on sequences that contain an integer greater than $10^7$. This is true for any base between 2 and 10, inclusive.
This provides some evidence that suggests that the answer to the question might be yes.
Below is the code with some example output.
Compilation + output: