Successive Numbers Statistics

The successive numbers statistics provides the following:

In order to explain function we will use the following example

The figure above shows the result of statistics calculation for package containing 1000 random tickets. You can see that the package contain 512 tickets with pairs of successive numbers. Out of those, 380 tickets contain one pair only and 66 tickets contain two pairs. 554 tickets do not contain any pair. However 37 tickets contain one triplet of successive numbers. Triplets are considered as a separate element even though each triplet can be treated as two successive pairs. Five tickets contain quads of successive numbers.