Leonhard Euler
The criterion first appeared in a 1748 paper by Leonhard Euler.