Prime valuation (source code)

= Prime valuation
{wiki}

The prime valuation v_p(n) is the exponent of p in the prime factorization of n.