We say that n is a binary multiple of k if n is a multiple of k and if n only has 0s and 1s in its decimal representation.
Does every natural number have a binary multiple ? If so, how many?
(Adapted from here )
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let k be a natural number. Then the decimal representation of k 1 either terminates or repeats.
Case 1: The decimal representation of k 1 terminates.
Then the decimal can be written as a fraction 1 0 q p for some positive integers p and q , and since k 1 = 1 0 q p , k p = 1 0 q , making 1 0 q a binary multiple of k .
For example, if k = 8 , then since 8 1 = 0 . 1 2 5 = 1 0 0 0 1 2 5 , 8 ⋅ 1 2 5 = 1 0 0 0 making 1 0 0 0 a binary multiple of 8 .
Case 2: The decimal representation of k 1 repeats.
Then the decimal can be written as terminating decimal (which can be written as a fraction 1 0 q p for some positive integers p and q ) plus an infinite sum (which using a starting term of t 1 = 1 0 u s and a ratio of r = 1 0 v 1 for some positive integers s , u , and v where u > v and the infinite sum equation S = 1 − r t 1 can be written as a fraction 1 0 u − v ( 1 0 v − 1 ) s ), which means k 1 = 1 0 q p + 1 0 u − v ( 1 0 v − 1 ) s = 1 0 x ( 1 0 v − 1 ) w for w = 1 0 u − v ( 1 0 v − 1 ) p + 1 0 q s and x = u − v + q , and so k w = 1 0 x ( 1 0 v − 1 ) .
Now, 1 0 x ( 1 0 v − 1 ) is a string of v 9 s followed by a string of x 0 s in decimal notation, which divides evenly into y , a string of 9 v 1 s followed by a string of x 0 s, because if L n is a string of n 1 s then 1 0 x y = L 9 v = L v ( 1 0 8 v − 1 ) + L v ( 1 0 7 v − 1 ) + L v ( 1 0 6 v − 1 ) + L v ( 1 0 5 v − 1 ) + L v ( 1 0 4 v − 1 ) + L v ( 1 0 3 v − 1 ) + L v ( 1 0 2 v − 1 ) + L v ( 1 0 v − 1 ) + 9 L v , and since each term is divisible by 1 0 v − 1 , 1 0 x y is a multiple of 1 0 v − 1 , which means y is a binary multiple of 1 0 x ( 1 0 v − 1 ) .
Therefore, since y is a binary multiple of 1 0 x ( 1 0 v − 1 ) and 1 0 x ( 1 0 v − 1 ) is a multiple of k , v is a binary multiple of k .
For example, if k = 1 2 , then since 1 2 1 = 0 . 0 8 3 3 3 . . = 1 0 0 8 + 9 0 0 3 = 9 0 0 7 5 , 1 2 ⋅ 7 5 = 9 0 0 , and since 9 0 0 divides evenly into 1 1 1 1 1 1 1 1 1 0 0 , 1 1 1 1 1 1 1 1 1 0 0 is a binary multiple of 9 0 0 and therefore also a binary multiple of 1 2 .
Therefore, from both cases we can conclude that every natural number k has at least one binary multiple. But we can also show that if at least one binary multiple exists, infinitely many binary multiples must exist, because if k is a natural number and n is a binary multiple of k , then by definition k n is an integer, which means k 1 0 a n is also an integer for any integer a , and k ⋅ k 1 0 a n = 1 0 a n , making 1 0 a n a binary multiple of k for any integer a .
Therefore, every natural number has an infinite amount of binary multiples .
First we can see that any binary-multiple can be expressed as the sum of distinct powers of 10, for example 1 0 1 0 1 = 1 0 4 + 1 0 2 + 1 0 0 .
Let n be a natural number.
We can categorize the first n 2 powers of 10 by their modulo n . Then, by the pidgeonhole principle. There's at least one category with ⌈ n n 2 ⌉ = n or more elements.
So if we sum n powers of 10 from the x category, we'll obtain a binary-multiple k that satisfy: k ≡ n x ≡ 0 x ≡ 0 ( m o d n ) In other words, k is a multiple of n .
Also 1 0 k , 1 0 0 k , . . . , are binary-multiples of n .
So every natural number n has infinite number of binary-multiples.
Take any positive k you like. By the pidgeonhole prinicple, there exists some pair of repunits which have the same value mod k. The difference between any two repunits is another one followed by zeros, which can qualify as a binary multiple. Since the two repunits selected are equal mod k, their difference is 0 mod k, and the number is a binary multiple.
To show every k has infinitely many, you could show how the pidgeonhole principle can be extended to give infinite pairs of repunits. However, it is simpler to just note that 10 times a binary multiple of k is also a binary multiple of k. This can be repeated indefinitely, so every k has infinite binary multiples.
Problem Loading...
Note Loading...
Set Loading...
Define
c 1 = 1 and c n = 1 0 n − 1 + c n − 1
I.e., c n is the number written with n ones in a row.
Let us fix some natural k and consider the sets
S i k = { c 1 + i k , c 2 + i k , ⋯ , c k + i k } , i ≥ 0
For each S i k we will build a binary multiple of k , thus proving there is an infinite amount of such binary multiples, given that there is an infinite amount of the S i k for each k .
Consider one of the S i k . If S i k has a multiple of k , that multiple is automatically a binary multiple because of how the c t were built. If none of its elements is a multiple, then by the pigeonhole principle two of its elements, say c a + i k > c b + i k have the same remainder when divided by k which in turn implies c a + i k − c b + i k is a binary multiple of k .
It is straightforward to verify that each S i k produces a different binary multiple of k when k is fixed, proving there is an infinite amount of them.