Binary multiples

We say that n n is a binary multiple of k k if n n is a multiple of k k and if n 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 )

Some natural numbers don't have binary multiples Every natural number has an infinite amount of binary multiples No natural number has a binary multiple Every natural number has a finite amount of binary multiples

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.

4 solutions

Define

c 1 = 1 c_1 = 1 and c n = 1 0 n 1 + c n 1 c_n = 10^{n-1} + c_{n-1}

I.e., c n c_n is the number written with n n ones in a row.

Let us fix some natural k k and consider the sets

S i k = { c 1 + i k , c 2 + i k , , c k + i k } , i 0 S^k_i = \{ c_{1 + ik}, c_{2 + ik}, \cdots, c_{k+ik} \}, i \geq 0

For each S i k S^k_i we will build a binary multiple of k k , thus proving there is an infinite amount of such binary multiples, given that there is an infinite amount of the S i k S^k_i for each k k .

Consider one of the S i k S^k_i . If S i k S^k_i has a multiple of k k , that multiple is automatically a binary multiple because of how the c t 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 c_{a+ik} > c_{b+ik} have the same remainder when divided by k k which in turn implies c a + i k c b + i k c_{a+ik} - c_{b + ik} is a binary multiple of k k .

It is straightforward to verify that each S i k S^k_i produces a different binary multiple of k k when k k is fixed, proving there is an infinite amount of them.

David Vreken
Aug 29, 2018

Let k k be a natural number. Then the decimal representation of 1 k \frac{1}{k} either terminates or repeats.

Case 1: The decimal representation of 1 k \frac{1}{k} terminates.

Then the decimal can be written as a fraction p 1 0 q \frac{p}{10^q} for some positive integers p p and q q , and since 1 k = p 1 0 q \frac{1}{k} = \frac{p}{10^q} , k p = 1 0 q kp = 10^q , making 1 0 q 10^q a binary multiple of k k .

For example, if k = 8 k = 8 , then since 1 8 = 0.125 = 125 1000 \frac{1}{8} = 0.125 = \frac{125}{1000} , 8 125 = 1000 8 \cdot 125 = 1000 making 1000 1000 a binary multiple of 8 8 .

Case 2: The decimal representation of 1 k \frac{1}{k} repeats.

Then the decimal can be written as terminating decimal (which can be written as a fraction p 1 0 q \frac{p}{10^q} for some positive integers p p and q q ) plus an infinite sum (which using a starting term of t 1 = s 1 0 u t_1 = \frac{s}{10^u} and a ratio of r = 1 1 0 v r = \frac{1}{10^v} for some positive integers s s , u u , and v v where u > v u > v and the infinite sum equation S = t 1 1 r S = \frac{t_1}{1 - r} can be written as a fraction s 1 0 u v ( 1 0 v 1 ) \frac{s}{10^{u - v}(10^v - 1)} ), which means 1 k = p 1 0 q + s 1 0 u v ( 1 0 v 1 ) = w 1 0 x ( 1 0 v 1 ) \frac{1}{k} = \frac{p}{10^q} + \frac{s}{10^{u - v}(10^v - 1)} = \frac{w}{10^x(10^v - 1)} for w = 1 0 u v ( 1 0 v 1 ) p + 1 0 q s w = 10^{u - v}(10^v - 1)p + 10^qs and x = u v + q x = u - v + q , and so k w = 1 0 x ( 1 0 v 1 ) kw = 10^x(10^v - 1) .

Now, 1 0 x ( 1 0 v 1 ) 10^x(10^v - 1) is a string of v v 9 9 s followed by a string of x x 0 0 s in decimal notation, which divides evenly into y y , a string of 9 v 9v 1 1 s followed by a string of x x 0 0 s, because if L n L_n is a string of n n 1 1 s then y 1 0 x = L 9 v \frac{y}{10^x} = L_{9v} = = L v ( 1 0 8 v 1 ) + L v ( 1 0 7 v 1 ) + L v ( 1 0 6 v 1 ) L_v(10^{8v} - 1) + L_v(10^{7v} - 1) + L_v(10^{6v} - 1) + + L v ( 1 0 5 v 1 ) + L v ( 1 0 4 v 1 ) + L v ( 1 0 3 v 1 ) L_v(10^{5v} - 1) + L_v(10^{4v} - 1) + L_v(10^{3v} - 1) + + L v ( 1 0 2 v 1 ) + L v ( 1 0 v 1 ) + 9 L v L_v(10^{2v} - 1) + L_v(10^{v} - 1) + 9L_v , and since each term is divisible by 1 0 v 1 10^v - 1 , y 1 0 x \frac{y}{10^x} is a multiple of 1 0 v 1 10^v - 1 , which means y y is a binary multiple of 1 0 x ( 1 0 v 1 ) 10^x(10^v - 1) .

Therefore, since y y is a binary multiple of 1 0 x ( 1 0 v 1 ) 10^x(10^v - 1) and 1 0 x ( 1 0 v 1 ) 10^x(10^v - 1) is a multiple of k k , v v is a binary multiple of k k .

For example, if k = 12 k = 12 , then since 1 12 = 0.08333.. = 8 100 + 3 900 = 75 900 \frac{1}{12} = 0.08333.. = \frac{8}{100} + \frac{3}{900} = \frac{75}{900} , 12 75 = 900 12 \cdot 75 = 900 , and since 900 900 divides evenly into 11111111100 11111111100 , 11111111100 11111111100 is a binary multiple of 900 900 and therefore also a binary multiple of 12 12 .

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 k is a natural number and n n is a binary multiple of k k , then by definition n k \frac{n}{k} is an integer, which means 1 0 a n k \frac{10^an}{k} is also an integer for any integer a a , and k 1 0 a n k = 1 0 a n k \cdot \frac{10^an}{k} = 10^an , making 1 0 a n 10^an a binary multiple of k k for any integer a a .

Therefore, every natural number has an infinite amount of binary multiples .

Hector Ricardez
Sep 21, 2018

First we can see that any binary-multiple can be expressed as the sum of distinct powers of 10, for example 10101 = 1 0 4 + 1 0 2 + 1 0 0 10101=10^4+10^2+10^0 .

Let n n be a natural number.

We can categorize the first n 2 n^2 powers of 10 by their modulo n n . Then, by the pidgeonhole principle. There's at least one category with n 2 n = n \lceil \frac{n^2}{n} \rceil = n or more elements.

So if we sum n n powers of 10 from the x x category, we'll obtain a binary-multiple k k that satisfy: k n x 0 x 0 ( m o d n ) k \equiv nx \equiv 0x \equiv 0 \pmod{n} In other words, k k is a multiple of n n .

Also 10 k , 100 k , . . . 10k, 100k,... , are binary-multiples of n n .

So every natural number n n has infinite number of binary-multiples.

Jason Carrier
Sep 13, 2018

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.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...