find_missing(numbers, n) where numbers contains n - 1 distinct integers from 1 to n inclusive (exactly one is missing). Return the missing integer using the sum-formula technique rather than searching.numbers = [1, 2, 4, 5], n = 5
3
The full 1..5 sum is 15; numbers sums to 12; 15 - 12 = 3.
The sum of 1..n is n*(n+1)//2.
Subtract the actual sum of numbers from that expected total.