I am having troubles with this deceptively simple problem:
Show that for any integer n that will be a terminating sexagesimal iff n's prime factors only consist of 2,3 and 5.
In other words will terminate in base 60 iff
More generally, any integer, n, is equal to a product of powers of its prime divisors. Any terminating "decimal", base n, is equal to an integer times some power of n (the negative of the power of the last "decimal" place) and so is equal to that integer divided by that power of n. While some factors in denominator and numerator may cancel, that won't introduce new factors in the denominator. The only possible factors of the denominator are factors of n and so the only possible prime factors of the denominator are the prime factors of n.