“…Newton polygons of higher order are a p-adic tool, and their computation involves no extension of the ground field but only extensions of the residue field; thus, they constitute an excellent device for a computational treatment of the problem. In this paper we explain how the theoretical results of [7] apply to yield an algorithm, due to the second author [12,Ch.3], to factor a prime number p in a number field K, in terms of a generating polynomial f (x). The algorithm computes the p-valuation of the index of f (x) as well; in particular, it determines the discriminant of the number field, if one is able to factorize the discriminant disc(f ) of the defining equation.…”