The general form of the filter formula can be found here:

http://en.wikipedia.org/wiki/Digital_filter

The particular coefficients for Zorro's lowpass filter are from an engineering book. I'll check if I can locate the formula and post it here.