Hey guys, I need some help here.

a)Let and be positive integers and be a prime. Show and given .

b) Using part a, find all positive integers n for .

a)

Since , this implies

And

Thus and .

Is this good enough?

b) I am stuck on this one.

Thanks for your help.