In mathematics, the pentagonal number theorem, originally due to Euler, relates the product and series representations of the Euler function. It states that In mathematics, the pentagonal number theorem, originally due to Euler, relates the product and series representations of the Euler function. It states that