- #1
ganeshsrivatsa
- 4
- 0
Hello All,
I am having 1000 consecutive numbers always starting with 1, and there could be upto 24 missing numbers from the list.
My question is, what pieces of information should I have in order to find out those missing numbers.
So far I came up with,
1. Sum of missing numbers.
2. Number of numbers missing from the list.
I know that the above information is not enough. let's say sum of missing numbers is 9 and numbers missing are two, it can be 3 and 6 or 5 and 4.
I can Have multiplication of missing numbers(?) but that might turn into a huge number.
Please help with this solution. I am building a computer program that finds out missing numbers with as less information as possible.
Thanks,
Ganesh.
I am having 1000 consecutive numbers always starting with 1, and there could be upto 24 missing numbers from the list.
My question is, what pieces of information should I have in order to find out those missing numbers.
So far I came up with,
1. Sum of missing numbers.
2. Number of numbers missing from the list.
I know that the above information is not enough. let's say sum of missing numbers is 9 and numbers missing are two, it can be 3 and 6 or 5 and 4.
I can Have multiplication of missing numbers(?) but that might turn into a huge number.
Please help with this solution. I am building a computer program that finds out missing numbers with as less information as possible.
Thanks,
Ganesh.