I am having troubles with this deceptively simple problem:
Show that for any integer n thatwill be a terminating sexagesimal iff n's prime factors only consist of 2,3 and 5.
In other wordswill terminate in base 60 iff
Printable View
I am having troubles with this deceptively simple problem:
Show that for any integer n thatwill be a terminating sexagesimal iff n's prime factors only consist of 2,3 and 5.
In other wordswill terminate in base 60 iff
Defineand
. Then
. Therefore
terminates on the
decimal place. QED
Hint for the other direction:
Ifthen look at
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.
Haven:
In base, by definition...
...
Etcetera. So a decimal terminates in baseiff it is expressible in the form
, with
integers.