The Use of S-Functions in Combinatorial Analysis