Number theory - prove if divisible by 2009

DianaSagita
Messages
10
Reaction score
0

Homework Statement



Prove if there exists an integer whose decimal notation contains only 0s and 1s, and which is divisible by 2009.


Homework Equations



Dirichlet's box principle :confused:

The Attempt at a Solution



I'm new to number theory, and I'm aware that I do not have the proper reasoning for this, but tried:
10^n + a[n-1]*10^(n-1) + ... + a[0] = k* (2*10^3 + 9), where a={0,1}

tried to find k with the max power of 10^(n-1), but it seems my approach is wrong... :( please help
Thanks in advance!
 
Physics news on Phys.org
Consider numbers of the form 1, 11, 111, 1111, ... According to the box principle at some point two members of this sequence will be equal modulo 2009. In that case subtract the smaller from the larger and you should get your integer.
 
Thank you, rasmhop! I understand now how to get it, your reply was helpful, cheers!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Replies
7
Views
2K
Replies
3
Views
2K
Replies
5
Views
2K
Replies
2
Views
2K
Replies
6
Views
2K
Replies
7
Views
2K
Back
Top