![]() | divisibilityDivisibility Method (BigInteger, BigInteger) |
Namespace: NumberStone
public static int Divisibility( this BigInteger n, BigInteger b )
Running time: O( log( log(n)/log(b) ) )
If n is larger than 64 bits, performs a binary search over the solution space (same computational complexity).