Proving Existence of Positive Integer Multiple with 0s & 1s

AI Thread Summary
The discussion revolves around proving the existence of a positive integer multiple of any positive integer k that consists solely of the digits 0 and 1, utilizing the pigeonhole principle. Participants suggest examining the sequence of numbers formed by repeated 1s (e.g., 1, 11, 111) and consider the possible remainders when these numbers are divided by k. One contributor notes that their approach is more complex, involving cases based on whether 10 is a unit or zero divisor mod k, while another emphasizes the simplicity of the initial solution. The conversation highlights the importance of understanding remainders and the application of the pigeonhole principle in this context. Ultimately, the problem is recognized as a classic example in number theory.
whiteman
Messages
8
Reaction score
0

Homework Statement


Let k be any positive integer. Prove that there exists a positive
integer multiple n of k such that the only digits in n are 0s and
1s. (Use the pigeonhole principle.)


Homework Equations


The General Pigeonhole Principle
If more than mk things are distributed into k boxes then
at least one box receives more than m things.


The Attempt at a Solution


Don't know where to start off. I just need a bit of a nudge and hopefully that'll get me started. thanks :)
 
Physics news on Phys.org
Think about the sequence of numbers {1,11,111,1111,11111,...}. How many possible remainders are there when you divide by k?
 
Dick said:
Think about the sequence of numbers {1,11,111,1111,11111,...}. How many possible remainders are there when you divide by k?

Very nice! I thought about this problem on the drive home and came up with a solution, but it's a bit more complicated, entailing two cases depending on whether 10 is a unit or a zero divisor mod k. Your solution is much quicker and more elementary. On the other hand, I think my method might find the smallest possible answer, but I haven't written down the details yet.
 
jbunniii said:
Very nice! I thought about this problem on the drive home and came up with a solution, but it's a bit more complicated, entailing two cases depending on whether 10 is a unit or a zero divisor mod k. Your solution is much quicker and more elementary. On the other hand, I think my method might find the smallest possible answer, but I haven't written down the details yet.

Yeah, it is nice. This is sort of a classic problem, I've seen it at least once before. It's classic pigeonhole. I didn't make up the solution. I just remembered it. I hadn't even thought about finding the smallest solution. If you can do that it would be interesting.
 
Last edited:
Dick said:
Think about the sequence of numbers {1,11,111,1111,11111,...}. How many possible remainders are there when you divide by k?

This is an interesting question but can't figure out what to do! What do you do with the sequence {1,11,111,...}?
 
aldebaran19 said:
This is an interesting question but can't figure out what to do! What do you do with the sequence {1,11,111,...}?

You don't do anything in particular with it as a sequence. You just think about the possible values of the remainders after dividing by k of those values. Then think 'pigeonhole principle'.
 
thanks for all the help, guys, especially Dick. i was able to get it from the first post you gave :)
 
Back
Top