Gauss did indeed figure this out at the age of 8 .. a teacher had given her unruly class the "busywork" problem of summing the first 100 integers.
Gauss is also notorious for catching errors in his father's bookkeeping at an even earlier age.
This from
A Biography of Gauss