 This result was proved by Leonhard Euler in 1748 and later was generalized as Glaisher's theorem.For every type of restricted partition there is a corresponding function for the number of partitions satisfying the given restriction.An important example is "q"("n").