Counting Insights Vol 1.2 Applications of Pigeon-Hole Principle
Counting Insights Vol 1.2 Applications of Pigeon-Hole Principle Guarantees in a Decimal Expansion A rational number with decimal expansion of the form has a non-empty list of digits ( ) repeating, hence is denoted by For example, A careful study of long division method shows that digits in decimal expansion repeat because remainder repeats itself in the long division method. Therefore, exactly the same sequence of quotients and remainders are generated as before, causing the sequence of digits to repeat (in decimal expansion). A natural question to ask is, why does the remainder repeat? Theorem 2. is rational has repeating decimal expansion. Proof: Let for some and . Without loss of generality, we can assume . By division algorithm, for every integers with unique integers and such that , where . If , we have repeating zeros in decimal expansions. If , then there are only possible non-zero values that can have. Considering the next steps...