Here’s a useful article from EETimes.com on FIR filter design which uses some basic factorization to demonstrate how the filter works . The article’s author Kendall Castor-Perry takes us through a worked example of a 50Hz/60Hz hum (the bane of studio musician’s everywhere) rejection filter. You can also find Part 2 here.