The Pigeonhole Principle - Repunits

In 1834, Johann Dirichlet noted that if there are five objects in four drawers then there is a drawer with two or more objects. The Schubfachprinzip, or drawer principle, got renamed as the pigeonhole principle, and became a powerful tool in mathematical proofs.
Pick a number that ends with 1, 3, 7, or 9. Will it evenly divide a number consisting entirely of ones (a repunit)? Answer: yes. Proof: Suppose 239 was chosen. Take the remainder of 239 dividing 10, 100, 1000, ..., . The chosen number will not divide evenly into any of those 239 powers of 10, so there are 238 possible remainders, 1 to 238. By the pigeonhole principle, two remainders must be the same, for some and . As it turns out, and both give remainder 44. Subtracting, 9,999,999,000 is the result, which yields 1,111,111 when divided by 9000. When , always returns an all-1 number multiplied by 9 and some power of 10, finishing the proof. The reciprocal of the chosen number has a repeating decimal of similar length. Consider: . . ….

(27 lines omitted)
comments
 
Powered by Wolfram Mathematica
Give us your feedback
Give us your feedback

Source page:




 often  occasionally  never

Note: Please do not include anything you consider confidential or proprietary. Your message and contact information may be shared with the author of any specific Demonstration for which you give feedback, but will not otherwise be published or distributed.
Privacy Policy »

Note: To run this Demonstration you need the free
Mathematica Player
or Mathematica 7+
Download or upgrade to Mathematica Player 7
I already have Mathematica Player or Mathematica 7+