Find all triples (a,b,p)(a, b, p) of positive integers with pp prime and

ap=b!+p.a^p = b! + p.