Below is the simple calculator which can help you to find missing numbers in an integer sequence. Let's suppose you have text file of consecutive numbers, like this, each number on its own line
However, there are some missing numbers and gaps. For the example above, 5 is missing, and there are two gaps: between 8 and 11 and between 14 and 17.
Of course, in this example you can find all problems by yourself, but if we talk about thousands of numbers, it will be too cumbersome. That's why I've created this calculator. You can paste list of numbers in there, and it will display all missing numbers and gaps it was able to find in the sequence bounded by the first and the last line of the list.
I have also added couple of options:
The reason for the second option is that probably you rarely have list of just numbers. Your text file can include additional text, something like this:
1 Paper beats stone
2 Scissors beats paper
3 Stone beats scissors
For that case, you can use regular expression to extract number from line and then check the sequence. You need to set "Use regular expression to parse number" checkbox and enter regular expression and match group which will be used to extract number.
Default regular expression matches line where number is placed at the beginning of the line.