ROSECODE 342
Fraction decomposition
There is a smallest for which there exists a set of distinct integers such as
Actually, for this least n the set S is unique.
You are given that S is composed of the union of no more than 4 subsets of consecutive integers.
Find S
Answer format: 'the smallest element'-'the largest element' comma separated for each subset.
For instance, if , the answer would be: 2-5,11-13
[My timing: 2 sec ]
Actually, for this least n the set S is unique.
You are given that S is composed of the union of no more than 4 subsets of consecutive integers.
Find S
Answer format: 'the smallest element'-'the largest element' comma separated for each subset.
For instance, if
[My timing: 2 sec ]