14

This is an exercise from a sequence and series book that I am solving.

I tried manipulating the number to make it easier to work with:

$$111...1 = \frac{1}9(999...) = \frac{1}9(10^{55} - 1)$$

as the number of $1$'s is $55$.

The exercise was under Geometric Progression and Geometric Mean. However, I am unable to think of a way to solve this problem using GP.

How do I proceed from here?

J. W. Tanner
  • 63,683
  • 4
  • 43
  • 88
user69284
  • 359
  • 2
  • 8
  • It is listed under geometric progression and geometric mean because that's how you get from $111\ldots$ to $\frac{1}{9}(10^{55} - 1)$ – Ekesh Kumar Jan 29 '19 at 06:43
  • 2
    You can either do five blocks of eleven 1s: $$11111111111\ 11111111111\ 11111111111\ 11111111111\ 11111111111 \ = 11111111111\times 100000000001000000000010000000000100000000001$$ or you can do eleven blocks of five 1s: $$11111\ 11111\ 11111\ 11111\ 11111\ 11111\ 11111\ 11111\ 11111\ 11111\ 11111 \ = 11111\times 100001000010000100001000010000100001000010000100001$$ It turns out, in this case, that all these factors are themselves composite. – Jeppe Stig Nielsen Jan 29 '19 at 21:17
  • 4
    This type of number is called a “repunit”. – Dan Jan 29 '19 at 21:21
  • 1
    @JeppeStigNielsen. And this shows that for a number consisting of $n$ ones (in any basis!) can only be prime if $n$ is prime. This is the primary background of Mersenne primes. – md2perpe Jan 30 '19 at 09:05

6 Answers6

37

You can see with some very quick "in your head" maths that this is a composite number. Since 55 is 5 times 11 we can take a number that is 11111111111 (eleven ones) and divide the original by it using standard long division. Its easy to see that the result will be 100000000001000000000010000000000100000000001.

Similarly you can see trivially see that 11111 is a factor of the number.

Chris
  • 493
  • 1
    If I may add: this becomes clearer if you think of splitting the number into equally-sized chunks. Thus you can conclude that any number whose representation consists of a non-prime number of digits is composite. – potestasity Jan 29 '19 at 12:57
  • 6
    @potestasity I think you mean "a non-prime number of identical digits"? Otherwise you may have accidentally destroyed most of the world's prime numbers. And of course it does not matter if the number of digits is composite, if the digit is itself not 1, e.g. 22222. – David Robinson Jan 29 '19 at 14:04
  • @DavidRobinson: While I agree with your initial point I don't follow your last sentence. If you had 55 2s instead of 55 1s the logic still works doesn't it? – Chris Jan 29 '19 at 14:17
  • 2
    @Chris If you had 55 2's you simply would divide by 2. – rus9384 Jan 29 '19 at 14:36
  • 1
    @Chris The point is that it works for 53 2's as well, because it's (53 1's) * 2. – Random832 Jan 29 '19 at 14:36
  • Ah, I had misread it as "It does not matter because it doesn't work anyway" rather than "It does not matter because there is a much easier factor to spot" – Chris Jan 29 '19 at 14:37
  • I think this one is better solution that an accepted one. You simply notice that $xxxxxxx...xxxxxx$ is simply $xxxxx \cdot x0000x0...0x0000$. – rus9384 Jan 29 '19 at 14:40
  • @rus9384: But just a few more votes and I can get the populist badge (https://math.stackexchange.com/help/badges/49/populist) if my answer isn't accepted! ;-) – Chris Jan 29 '19 at 14:42
  • @rus9384: You shouldn't have $x$ in both factors of that multiplication unless $x=1$... – hmakholm left over Monica Jan 29 '19 at 16:59
  • @HenningMakholm Correct for the ordinary math. In this case, however, as I said, the answer is trivial. – rus9384 Jan 29 '19 at 17:18
  • @DavidRobinson Yes, that's what I meant. And I was actually under the impression that it's also what I wrote... Apparently not – potestasity Jan 29 '19 at 22:09
31

The number is composite.

We have

\begin{align*} \underbrace{11\ldots111}_{55 \text{ times }} = \frac{1}{9} \cdot (10^{55} - 1) \\ = \frac{1}{9} \cdot ((10^{5})^{11} - 1) \\ \end{align*}

Also, note that $x^{m} - 1$ is divisible by $x - 1$. Here, we can plug in $x = 10^{5}$ and $m = 11$. As a result, we see that the quantity is divisible by $99999$, meaning that the number must be divisible by $11111$ (and hence, composite).

Ekesh Kumar
  • 3,474
  • 1
  • 12
  • 23
  • 1
    Can you please elaborate on the last step? How did you get k and concluded it to be an integer? Sorry, I am terrible at maths. – user69284 Jan 29 '19 at 06:45
  • 12
    "As a result, we see that the quantity is divisible by 99999" - this isn't right, surely. If it is divisible by 99999 then it is also divisible by 9 and as we all know something is divisible by 9 if the sum of the digits is divisible by 9. The sum of the digits of the original number is obviously 55 so it is not divisible by 9. – Chris Jan 29 '19 at 10:20
  • 20
    Oh, I think I see the confusion now. You have your factor of $1/9$ multiplying your number so in fact I believe you mean to say that the original number is divisible by 11111 – Chris Jan 29 '19 at 10:22
  • Isn't $x^m-1$ always divisible by $x-1$, not just when $m$ is odd? – Dan Jan 29 '19 at 21:17
  • 1
    @Dan That is true, but since we have a factor of $1/9$, we get $(1/9)\cdot(10-1)=1$ divides $11\dots1$ which isn't very helpful. – boboquack Jan 29 '19 at 22:43
20

More explicitly, $$\begin{align*} \frac{10^{55} - 1}{9} &= \frac{(10^5)^{11} - 1}{9} \\ &= \frac{(10^5 - 1)(10^{50} + 10^{45} + 10^{40} + \cdots + 10 + 1)}{9} \\ &= \frac{(10 - 1)(10^4 + 10^3 + 10^2 + 10^1 + 1)(10^{50} + 10^{45} + \cdots + 1)}{9} \\ &= (10^4 + 10^3 + \cdots + 1)(10^{50} + 10^{45} + \cdots + 1). \end{align*}$$ The first factor is $11111$, which in turn is $41 \cdot 271$, and the second factor has as its smallest prime factor $1321$.

heropup
  • 143,828
  • 1
    Also, splitting $5\times 11$ the other way around, you get that 11111111111 is also a factor, and it doesn't share any factor with 11111, so this way, you can divide out both of them (if you wanted to get closer to full factorization instead of just proving it's composite). The remaining number is still large, though. – orion Jan 30 '19 at 07:55
8

This number can be written as $$x=\sum_{k=1}^{55}10^{k-1}$$ i.e. it has the following form: $$x=\sum_{k=1}^{n}a^{k-1}$$

Such numbers are always composite if $n$ is composite. Let $n = pq$, where $p,q\in\mathbb N$. Then, $$x=\sum_{k=1}^{pq}a^{k-1} = \sum_{l=1}^p \sum_{m=1}^q a^{q(l-1)+(m-1)}= \left(\sum_{l=1}^p a^{q(l-1)}\right)\left(\sum_{m=1}^q a^{(m-1)}\right)$$

Since, $55$ is composite, it follows that $\sum_{k=1}^{55}10^{k-1}$ is composite as well.

Simple illustrative example

To get the idea behind this construction, consider a simpler example of $$x = 111111=\sum_{k=1}^{6}10^{k-1}.$$ This number can be factorized using this construction (and the fact that $6=2\cdot3$) as $$x = 111000 + 111= 1001\cdot111$$ or $$x=110000 + 1100 + 11 = 10101\cdot11.$$

General conclusion

If a natural number $x$ can be represented with a string of composite number of repeating $1$s (regardless of the base of the numeral system), then $x$ is composite.

Danijel
  • 1,668
2

The prime factorization of the number is:

$$41 \cdot 271 \cdot 1321 \cdot 21649 \cdot 62921 \cdot 513239 \cdot 83251631 \cdot 1300635692678058358830121$$

obtained by FactorInteger[] in Mathematica.

1

You can either do five blocks of eleven 1s:

$$11111111111\ 11111111111\ 11111111111\ 11111111111\ 11111111111 \\ =11111111111×100000000001000000000010000000000100000000001$$

or you can do eleven blocks of five 1s:

$$11111\ 11111\ 11111\ 11111\ 11111\ 11111\ 11111\ 11111\ 11111\ 11111\ 11111 \\ =11111×100001000010000100001000010000100001000010000100001$$

It turns out, in this case, that all these factors are themselves composite.

(Answer taken from comment by Jeppe Stig Nielsen.)

Sophie Swett
  • 10,830