Iterate over the string with two nested loops to select the first and second numbers.
Ensure that numbers do not have leading zeros unless the number is 0 itself.
Use a recursive function to check if the remaining string can form an additive sequence with the selected first and second numbers.
In the recursive function, calculate the sum of the first two numbers and check if the remaining string starts with this sum.
If the sum is found at the beginning of the remaining string, recursively call the function with the second number and the sum as the new first and second numbers, respectively, and the remaining string after the sum.
If the end of the string is reached, return true.
If no valid sequence is found, backtrack and try different lengths for the first and second numbers.