equations to calculate coefficients of recursive IIR Gaussian blur filter
@Peter K.'s answer is right to the point. You can also have most proposed implementations side-by-side, with comparisons,  in Pascal Getreuer, A Survey of Gaussian Convolution Algorithms, Image Processing On Line, 2013, with alternative source code.