The sequence y(n) is equal to the convolution of sequences x(n) and h(n):

For finite sequences x(n) with M values and h(n) with N values:

For n = 0 .. M+N-2