Bezoek de website voor leraren en scholieren →

Don't be intimidated by the large numbers in this article, they look intimidating but after reading this article you will see they are just numbers!

Numbers are just amazing, as a child numbers are one the first things you learn. You try to count as far as possible, the first goal is to reach 10, then 20, then 50, finally you reach 100. At some point you realize you can keep going further and further, since adding one more zero results in an even larger number. I have seen in Twitter hundreds of messages about numbers that just look wonderful. Two examples that I saw recently.

Example 1: Start with 82 and go backwards to 1. This gives the number 

828180797877767574737271706968676665646362616059585756555453525150

494847464544434241403938373635343332313029282726252423222120191817

16151413121110987654321.

This number is a prime number!

Example 2: Consider the number 13532385396179. This number can be written as the following product

13532385396179 = 13 \cdot 53^2 \cdot 3853 \cdot 96179.

Do you see the similarity between the two parts? When I saw these tweets I was fascinated and started looking for other almost mythical numbers. How I went on searching for such numbers? Using my computer and some basic programming in Python. In this series of articles I want to show you some of my findings. 

Before I can show what I found I need to tell you something about a very special kind of numbers, prime numbers. Prime numbers are numbers that can be divided only by themselves and 1. Examples of prime numbers are

2, 3, 5, 7, 11, 13,...,31, 37,...,91, 97, 101, 103,..., 1009, \text{ etc}.

There are infinitely many prime numbers, this is a result proved by Euclides. Prime numbers are extremely useful, they are the building blocks of all the other numbers. This is because each number can be factorized into a product of prime numbers in a unique way! For example the number 10 can be written as 2\cdot5, the number 126 as 2 \cdot 3^2 \cdot 7 and the number 482422 as 2\cdot 31^2 \cdot 251. Numbers that are not prime are called composite numbers. 

As I said before, I am going to explore the realm of numbers using the computational power of my computer. I am going to search for exotic prime numbers and composite numbers with some funny property. First of all, how large numbers do you think my laptop can handle (an ordinary HP)? Lets see, when I want to discuss how large numbers can get I always google the number of atoms in the universe, the result reads

It is estimated that there are between 10^{78} to 10^{82} atoms in the known, observable universe. In layman's terms, that works out to between ten quadrillion vigintillion and one-hundred thousand quadrillion vigintillion atoms.

Believe me or not 10^{82} is a number your laptop can easily handle! For example in less than one second my computer computes that the two closest prime numbers to 10^{82} are

999999999999999999999999999999999999999999999999999999999999999

9999999999999999623

and

1000000000000000000000000000000000000000000000000000000000000000

0000000000000000391.

Wouldn't it by the way be mind-blowing if the exact number of atoms in the universe, which is a number between 10^{78} and 10^{82} would be a prime number? What is the probability of this event? To estimate this we need to find how many primes numbers there are between 10^{78} and 10^{82}. Although I can let my computer do the work (which will take quite a while I think) I can use a mathematical theorem from number theory to give you an estimate. The Prime Number Theorem says that 

the number of prime numbers smaller than N is approximately equal to \frac{N}{\log(N)}.

This means that between 10^{78} and 10^{82} there are approximately 

\frac{10^{82}}{\log(10^{82})}-\frac{10^{78}}{\log(10^{78})}\approx

52957173817545389768972285196508384583287031460694511032735295488

338362288308224

prime numbers. If we translate this to a percentage we get that 0.53% of all numbers between  10^{78} and 10^{82} are prime numbers. This probability is a rather low number but in the end we are talking of the total number of atoms in the universe. 

Lets go back to my exotic prime numbers. I started by looking for prime numbers consisting of only one number, such numbers are 11, 3333, 222, 666666 or 9999999. For such a number to be prime the only candidate digit to examine is 1, since every other number will be divisible by the number of which it consists. For example 777777 is always divisible by 7. So is there a number consisting of only 1's and also being prime? Of course you have 11 which is prime. Using a simple code in SageMath the following numbers popped out:

1111111111111111111,11111111111111111111111

and

1111111111111111111111111111111111111111111111111111111111111111

1111111111111111111111111111111111111111111111111111111111111111

1111111111111111111111111111111111111111111111111111111111111111

1111111111111111111111111111111111111111111111111111111111111111

1111111111111111111111111111111111111111111111111111111111111.

These numbers consist of 19, 23 and 317 digits respectively. And all three of them are prime numbers! You will now wonder if you can make an even larger number of this type that is prime. In the program SageMath I checked even larger numbers of this kind, up to the insanely large number consisting of 1018 ones and didn't find any more primes among them. The question will unfortunately stay unanswered for now. Maybe there is one maybe not. 

Lets venture into another funny case, I am going to search for prime numbers where you have a repeating pattern, for example 13131313 where 13 repeats for a number of times, other examples are 2424, 675467546754, 78787878,.... It turns out that such a number can not be prime, it is always divisible by the smaller number that repeats to make this larger number. For example 13131313 is divisible by 13 and 675467546754 is divisible by 6754, in a follow up article I will discuss why this is the case. But you can tweak the number a little bit, say that I consider numbers of this kind, but also add an extra number in front of it, for example instead of considering 13131313 we will look for primes of the form 1131313, 3131313 or 7131313. It turns out that you can find a lot of such prime numbers! Lets see some below. The numbers 

331, 331313131313131313131313131

and

331313131313131313131313131313131313131313131313131

are all three prime numbers! Also the following three numbers

1171717171717, 1171717171717171717171717,

and

1171717171717171717171717171717171717171717171717171717
17171717171717171717171717171717171717171717171717171717
17171717171717171717171717171717171717171717171717171717
17171717171717 

are all prime numbers. What is amazing is that if you just add one more 1 at the end then the number is no longer prime. The third number for example will become 1171717.....17171 which is not a prime number. In the follow up articles I will show some more numbers with funny properties. In this article, as well as in most of the Tweets and messages on the Internet, we have seen numbers with exotic properties. But, as we will discuss in the next articles, you cannot find numbers satisfying any property you come up with. There are some things that are impossible, to show that no numbers can satisfy a property we need more than a computer, we need a mathematical argument. Wait until my next article! Of course if you have suggestions and ideas of nice properties to try out let me know and I will try to find numbers satisfying them!

  • Article

    Eavesdropping on cancer••

    It is quite difficult to extract information from your body. Your body is so vast that millions upon millions of messages get sent and deleted every second. It is impossible to know exactly who said something. The doctor’s main challenge is finding a way to reconstruct the network of interacting cells given the limited information she can measure.
    Read article
  • Article

    Reading mathematics in Braille

    Have you ever wondered how people with a severe visual impairment practice and understand mathematics?
    Read article
  • Article

    Mr Markov playing Snakes and Ladders••

    Have you ever wondered what kind of insights you can gain about games by looking at it using a mathematical lens? In this article we have a look at Snakes and Ladders, and in a follow up article we will dive into Monopoly!
    Read article
  • Article

    Enigma: a complexity titan••

    In times of war, secure communication can be the difference between life and death, or even winning or losing a war. The first to patent a rotor machine in Europe was Arthur Scherbius in 1918. Scherbius’ version of the rotor machine became a commercial success, unlike the other patented machines. Scherbius named his machine Enigma.
    Read article
  • Article

    What have Donald Trump, an epidemiologist and a rock in common?••

    In this article, dear reader, I am going to show you in which way the development of your opinion during the last political issue, the spread of a virus among your acquaintances during the current pandemic, and the alignment of some particles lying inside the device from which you are reading this article are extremely comparable phenomena.
    Read article