  We compute the Hilbert-Kunz functions of two-dimensional rings of type ADE by
using representations of their indecomposable, maximal Cohen-Macaulay modules
in terms of matrix factorizations, and as first syzygy modules of homogeneous
ideals.
