Generalized techniques for constructing the generating functions of some algebraic and rational functions | Synapse