Problem

Source: Iran 3rd round 2013 - Number Theory Exam - Problem 1

Tags: modular arithmetic, number theory, relatively prime, number theory proposed, Modular inverse, Multiplicative order



Let $p$ a prime number and $d$ a divisor of $p-1$. Find the product of elements in $\mathbb Z_p$ with order $d$. ($\mod p$). (10 points)