fix pandigital + continued fraction