In mathematics, the Euler function is given by
Named after Leonhard Euler, it is a model example of a q-series, a modular form, and provides the prototypical example of a relation between combinatorics and complex analysis.
The coefficient in the formal power series expansion for gives the number of all partitions of k. That is,
where is the partition function of k.