chickadee » chicken » base » exact-integer-nth-root

exact-integer-nth-root K Nprocedure

Like exact-integer-sqrt, but with any base value. Calculates \sqrt[N]{K}, the Nth root of K and returns two values s and r where s^N + r = K and K < (s+1)^N.