Application of the method of continued fractions to electron scattering by polyatomic molecules