Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for [old] The Good Radix by Moff
function goodRadix(number) {
for (let k = 2; k < 37; k++) {
let n = parseInt(number, k);
if (n.toString(k) === number.toLowerCase() && n % (k - 1) === 0)
return k;
}
return 0;
}
July 12, 2017