Generating function Given a sequence {a₁, a₂, … aₙ}, the gen. function is a vector multiplication with so called coefficient sequence {b¹, b², … bⁿ}. Details at Knuth's Art Of Programming, see TOC.