Theorem: Let? be a rational number, s.t. prime factorization of denominator q is in the form of
, where a, b are non-negative integers. Then, x has a decimal expansion which surely terminates.
If u compare denominator with then
The denominator is in the form
So, surely terminate
If u compare denominator with then
The denominator is in the form
So, surely terminate
The denominator is in the form
So, is non terminating, repeating