Jacobi’s Four and Eight Squares Theorems and Partitions into Distinct Parts