Help!

What have you tried so far? What formulas or rules are you allowed to use? Where are you stuck?Let p be a prime. Determine all positive integers n for which the following condition is satisfied for all integers x. Condition: If xn - 1 is divisible by p, then it is also divisible by p2.
Thanks!The image doesn't appear to be loading within your post, for some reason. Since it's only text, it might be helpful to type it out, so people can see what you're asking.
What have you tried so far? What formulas or rules are you allowed to use? Where are you stuck?Let p be a prime. Determine all positive integers n for which the following condition is satisfied for all integers x. Condition: If xn - 1 is divisible by p, then it is also divisible by p2.
Please be complete, so the volunteers can see where you're having difficulty. Thank you!