Missing Number — Interactive Visualizer

Use the Gauss sum formula: expected sum minus actual sum gives the missing number.