That's easy. The total of intervals in an array. The span of {2212221} is 12. Compare with loopsum.
{2212221}
close