Text this: A series transformation formula and related polynomials