Other items inark_ff::fields::utils
pub fn k_adicity(k: usize, n: usize) -> u32
Calculates the k-adicity of n, i.e., the number of trailing 0s in a base-k representation.