- galois.is_powersmooth(n: int, B: int) bool
Determines if the integer
is -powersmooth.Notes
An integer
with prime factorization is -powersmooth if for .Examples
Comparison of
-smooth and -powersmooth. Necessarily, any that is -powersmooth must be -smooth.In [1]: galois.is_smooth(2**4 * 3**2 * 5, 5) Out[1]: True In [2]: galois.is_powersmooth(2**4 * 3**2 * 5, 5) Out[2]: False