Codebreakers Wanted: the Curious Case of the Messiah’s Mysterious Numbers


Mansoor Dahri, UK

Who will solve the secret sequence?

In the tiny village of Qadian, India, over 100 years ago, God revealed a mysterious code to an Indian-born prophet of Persian descent. His name was Mirza Ghulam Ahmadas.

These were the numbers revealed to him:1






Mysterious indeed. But before we get to the mystery of the numbers, we must ask: who was Mirza Ghulam Ahmadas?

In order to answer that, we must consider that many major world religions have predicted the coming of a great prophet in the latter days – a Messiah and reformer. Hazrat Mirza Ghulam Ahmadas declared in 1891 that he was that Promised Messiah that the world had been waiting for.

He taught that the second coming of Jesusas was metaphorical, not literal; that Jesusas had passed away, not on the cross, but many years later in India; that the Holy Prophet Muhammadsa was the greatest prophet, but not the last; and that any new prophets would bring no new law but operate within the laws brought by the Holy Qur’an. Moreover, he taught that God is a living God, Who still listens and speaks. He received countless signs and revelations, many of which have already been fulfilled.

But back to the revelation. This mystifying sequence of numbers was not accompanied by any explanation whatsoever. Alongside the numbers, there was just the following hand-drawn symbol, which is equally perplexing:

Appended to these inscriptions are the following words of encouragement, translated from Arabic into English as follows:

‘Peace be upon the one who fathoms our mysteries and follows the guidance.’

The implication is crystal clear; there is a mystery here worth fathoming and a guidance to be followed. Yet as I write this, it has been over 100 years since this challenge was first issued and the code still hasn’t been solved.

This article hopes to draw wider public attention to this fascinating thread in the tapestry of the history of religion and Messianic claims. So far no one has been able to provide a clear solution to this mystery, and who knows when it will be ultimately solved, but I hope that you, dear reader, will succeed in solving this sequence (or at least pass it on to someone who can) and at long last put this mystery to rest.

Let’s begin with the very basics, such as why the visual arrangement of the sequence is peculiarly uneven. It has been ordered in a very specific way; the sixty-five numbers were written down in five rows, with the fourth and longest row containing twenty numbers whereas the fifth and shortest row is only comprised of five numbers. Then there’s also the fact that, throughout the entire sequence, there are only fifteen individual numbers; these repeat themselves to give us a total of sixty-five. Arranged in order from smallest to largest, these fifteen unique numbers are as follows: 1, 2, 5, 7, 10, 11, 14, 15, 16, 23, 26, 27, 28, 34, 47.

Each number is followed by a dash, though the last numbers of the second and third row do not end in dashes but rather are left blank. The other three rows do end in dashes. At the bottom of this page is the earliest printed version of the revelation.

The earliest available version of the revelation noted down in the writings of the Promised Messiahas.

As can be seen from this version, the numbers were originally written by Hazrat Mirza Ghulam Ahmadas in the Urdu variant of the Islamic style of numerals.2 It is important to note that the numbers are written right to left (in the ‘opposite’ direction to English) just like the Arabic language itself. Confusingly, however, the digits within each number are written left to right, as in English. For instance, the numbers ‘28–27–14’ would be ordered ‘14–27–28’ and not ‘41–72–82’ which you might expect if you were purely reading them right to left in one straight direction.

This system was the standard used in Muslim countries before the twin advents of Westernisation and globalisation caused its usage to be restricted primarily to traditional, cultural, religious and aesthetic domains, as is the case with Roman numerals in the Western world (e.g., church inscriptions or fancy watches).

Unlike Roman numerals, however, Islamic numerals use a place-value decimal system exactly like the modern global system of numerals. In fact, the Islamic system is the ancestor of the current system, which is why numbers are often referred to as ‘Arabic’ numerals in the West (to distinguish them from the West’s traditional ‘Roman’ numerals), since European mathematicians first learned of this system through Muslim scholars.

However, it must be noted that the Muslims in turn borrowed this system from Indian mathematicians, who were the first to come up with it – which is why the system is now officially referred to as the ‘Hindu-Arabic’ numeral system, in acknowledgement of the original inventors as well as those who helped propagate it.

Below is a side-by-side comparison of the various numeral systems that have been mentioned so far. Note that the code uses the Urdu variant of the Islamic style of numerals.


The final row of the fourth column has been left blank on purpose because there was no way of depicting the concept of zero in Roman numerals, unlike in the other systems. One can clearly see the resemblance between the related numbers in the first three columns and how distinct they are from the numeric figures in the fourth column, which are wholly unrelated to the others.

Hopefully, you should be able to use the second column of the table to decipher the sequence’s original Urdu numerals. However, if you are new to learning Urdu numbers, then the image of the original edition provided earlier might be a little difficult to read clearly. On this page we present an image of those numbers that is easier to read.

Aside from the equally mysterious symbol and the inspiring words of encouragement, there is really nothing else to go on in terms of solving the sequence. However, one of the publishers has added the following note: ‘The knowledge of numerical values is used in Arabic and Urdu but not in English.’

Could this be a clue? But what do these words even mean? To my knowledge, there is only one thing that they could possibly mean: abjad numerals. What are those, you might be wondering? Abjad numerals are a system whereby each letter of the Arabic alphabet has a numeric value. For instance, in English, the letter A is often valued as 1, B is 2, C is 3 and so on until you get to Z, which is 26. However, in abjad numerals the sequence follows a slightly different pattern; instead of each letter being one more than the letter before it, the value of the letters jumps suddenly after every ten letters. Below is a table to show you what I mean (note that the numbers are written right to left so that they follow the direction of the Arabic letters written above them).


As you can see, you start with one and each letter has a value of one more than the letter before it, until you reach ten and from then on each letter is ten more than the previous letter, until you reach one hundred and then each letter is one hundred more than the previous one. Eventually, you reach 1,000 and it could have gone on to 2,000; 3,000; 4,000; etc., but the Arabic alphabet has 28 letters so it stops very neatly with the last letter having a nice round value of exactly one thousand.

You might be wondering at this point why the numbers increase in this way. The answer is sheer necessity. The abjad numeral system dates back to a time before the decimal system. Letters were all that people had to denote numbers. Naturally, your range would be quite limited if you only had 28 letters and the last one had a value of only 28. How would you write the number 100 or 1,000? But if you increase suddenly at certain points then your range is greatly expanded. Why have a letter that represents 28 when you could just write 28 as a combination of two letters (one equal to 20 and the other equal to 8)? The 28th letter could instead be freed up to denote one thousand. Arabs used this system exclusively until a few centuries after the advent of Islam, when they first learned the decimal system from the Indians. The abjad numeral system then fell out of practical everyday use but it still retained certain ceremonial purposes and was often used by religious mystics.

The relationship between letters and numbers in abjad numerals predates Arabs and goes all the way back to Jewish scholars who used it for the Hebrew language while studying the Torah and Tanakh. They studied their holy scriptures deeply and realised that certain words had the same numerical values as other words if you counted the value of each letter in a word and added them up; they felt that this had some sort of deep mystical significance when it came to theological study. They called this system gematria. Since the Hebrew alphabet only has 22 letters, the highest number they could manage in their system was 400, as can be seen in the table on this page.


This tradition carried on with the Ancient Greeks, who had their own version of gematria. The Ancient Greek alphabet had 24 letters (plus three more archaic letters used in gematria), which overall is five more than Hebrew, so the highest number they could manage was 900. Only with the advent of the 28-letter Arabic alphabet did the system finally manage to reach 1,000. Continuing the same tradition of theological mysticism, some Muslim scholars also attributed significance to words or sentences having certain numerical values. For example, to this day, many Muslims attribute special significance to the number 786 because it is the abjad value of the Qur’anic verse ‘In the name of Allah, the Gracious, the Merciful’ in Arabic.

So while no real tradition of gematria or abjad numerals exists in English, it has always existed in Arabic, and, by extension, in Urdu, which is written in a variant of the Arabic script.

It’s unsurprising that abjad numerals are one of the first things that would occur to anyone trying to solve this code; for centuries abjad numerals were synonymous with mysticism and secret codes in the Islamic world. It’s therefore no wonder that if God reveals a mysterious numerical code to one of His prophets, one of the first things that an educated Muslim might assume is that it could have something to do with abjad numerals.

But the question remains: do abjad numerals actually have anything to do with the sequence of sixty-five numbers that God revealed to the Promised Messiahas in 1891? My educated guess is that it would be difficult to find a solution this way. You can use abjad to turn words and sentences into numbers, but it’s hard to turn numbers back into sentences. One number could produce many possible words or sentences.

Let’s use the English alphabet as an example (with A=1, B=2, etc.), and look at the word ‘cat’: C=3, A=1, and T=20, so C+A+T=3+1+20=24. Thus, ‘cat’ has one numerical value in this system, which is 24. But let’s suppose you just saw the number 24 – how would you know which word it came from? Many English words add up to 24 – ‘sad’, ‘caked’, ‘babble’, and ‘Canada’ all have the same value as ‘cat’. It gets even trickier if you allow a number to represent more than one word. For example, the phrase ‘I am a…’ also has a value of 24.  Similar problems arise when you try to derive Arabic and Urdu words from numbers using the abjad system. Simple attempts at deciphering the sequence so far have been unsuccessful. If the code does indeed involve abjad numerals, then it’s likely that only the brute force of a computer will be able to generate lists of all the potential words or phrases for each number and detect if there are any possible combinations that might make sense.

But what if the abjad approach yields no result? What could the solution be? Will we ever know? There is one further note. It was written by Maulana Jalal-ud-Din Shamsra, a companion of the Promised Messiahas. The note reads as follows:

‘These numbers and the symbol accompanying them are all a part of the revelation. Allah the Almighty alone knows their import, which will, insha’Allah [God willing], be manifested at its appropriate time.’

Some might interpret this note to mean that the solution will only arrive at a certain point in time and that all attempts to solve it before then are futile at best and that Allah will decide when to reveal the truth. However, we must remember the Promised Messiahas explicitly encouraged people to fathom the mystery and follow the guidance. Clearly, we must not give up in our attempts to solve it or throw our hands up in the air and leave it all to God.

Instead I feel that the note has a deeper significance; the code is related to some scientific or mathematical discovery that was to be revealed at a certain point in the future. In that case, the solution could either be found as the result of a technological breakthrough or even be the source of one and thereby advance the progress of the human race. I have heard various theories being propounded: from the coordinates of the location of life in a faraway galaxy to the genetic code of some organism. Perhaps it’s the answer to the whereabouts of Noah’s Ark or it holds the key to other prophecies made by the Promised Messiahas. At any rate, I certainly hope that scientists and mathematicians will look into it. Perhaps it could even herald the next great discovery. And as the revelation itself says, Peace be upon him who fathoms our mysteries and follows the guidance.

If you have any ideas or possible solutions, please let us know in the comments section below and help us solve this mystery.


About the AuthorMansoor Dahri is an online editor for The Review of Religions. He graduated from UCL with a B.A. in Ancient Languages.



1. Hazrat Mirza Ghulam Ahmadas, The Heavenly Decree (Tilford, UK: Islam International Publications Ltd., 2006), 72.

2. I’ve used the term ‘Islamic system of numerals’ instead of ‘Eastern Arabic’ because these days they’re almost exclusively used for religious and aesthetic purposes by Muslims all over the world. I feel the term better conveys the ethnic diversity of the mathematicians during the Islamic Golden Age.


Click here to post a comment

  • At first I thought the code could be some type of binary, so alternating between zeros and ones for every new number value, I tried putting it in a decoder, but the word I got didn’t make any sense. Then I tried working out the difference between the numbers repeatedly until I got zeros and ones, but that just gave the letter ž.

  • I also thought it could be longitude and latitude, but it seems like longitude and latitude don’t work that way. I also thought it could be an ISBN, but nothing came up.

  • I input all the numbers into a scatter graph to see what would happen, and when you joined up some the dots, they distinctly looked like letters but they still didn’t mean anything. I also thought it looked like possible constellations. I managed to get Aries and I think Cancer to fit on the graph but I haven’t tried fitting every constellation. I am also not an astronomer so I have no clue if they actually work or not, but it might be possible?

  • Maybe also they could represent the cycles of different things, like 28 days in one lunar cycle, I think 47 or 37 years is a cycle for Mars

  • I also worked out how many times different numbers appear in the sequence. There’s 65 numbers in the sequence but only 15 unique numbers. The number 1 appears 11 times, the number 7 appears 7 times, the number 47 only appears once

  • The strange thing is is that there are certain pairs or groups of numbers that appear together more than once…
    For example, 28 and 27 appear together more than once. 14, 2 And 27 appear together more than once. 14, 11, and 7 appear together more than once, though in a different order. 11 and 34 appear together in at least three places. 14, 11, and 7 are together in at least two places. I’m pretty sure there are others too.

    To me this suggests that there’s some poetic rhythm going on here, or something that requires repetition to be important

  • Another theory I have is that it could be some type of sound/radio frequency, but I don’t know how to actually test that.

    I also thought it could be something to do with the verse numbers of the Holy Qur’an, but there’s 65 numbers so it wouldn’t include all the verse numbers

  • Instead of working out the difference between the numbers, I also thought about adding up each of the numbers in the sequence in pairs, until it makes a new sequence, which would eventually get shorter and make a huge number. But this takes a lot of maths so I gave up. Though, you could always use the mystical number abjad values in this article to try and make sense of the plain sum of all the numbers in the sequence. But my personal view is that sequence of the numbers has to somehow be important

  • Depending on whether the numbers are written in Arabic or Urdu, you could try to make an anagram with the letters of the numbers to make a different word. For example, in English 28 would be twenty eight, which could be ‘then weight yet’
    But I don’t know Urdu or Arabic well enough to figure out anagrams in those languages

  • I also thought they could possible be syllables of different words or sentences. For example 1 could be ‘wa’ (and) but considering there are numbers as high as 47, that could be impossible to figure out

    However, considering that the revelation that comes with mentions those who ‘follow the guidance’ I feel like the Holy Qur’an also has an important part in the number sequence. I thought it could actually be how many times different words appear in the Qur’an. For example how many words appear 28 or 27 times, and use those words to make a new sequence

  • The symbol is perhaps the most mysterious part of the revelation. At first I thought it might be some type of explosion, or a butterfly. It also kind of looks like a steam iron. It also looks like a rock. The line that comes off the left side is carefully placed compared to main drawing which looks more irregular, suggesting that whole image was drawn for a specific purpose or to convey a specific message. It also looks like a an r in Arabic.

    The thickness of the lines is also interesting to trace, because you can almost figure out the way it was drawn or maybe when the pen was dipped again in ink

  • This might be related to extraterrestrials or potentially the discovery of alien civilizations. There is a formula called the Drake formula. In radio astronomy they would use numbers to assess radio waves that might potentially be evidence of an extraterrestrial intelligence civilization. I would share this with an astronomer or physicists or the people at SETI or Greenbanks Observatory

  • Check with radio astronomers..the ones who found the WOW signal. Might be related to extraterrestrial intelligence

  • Is it possible that the numbers produce the image of the symbol in a coding software, or that they they relate to the coordinates of some celestial body on the date of the revelation or on other significant dates?

  • The code meaning is 4 which symbolizes “Stability”. This revelation was revealed late in the life of the Promised Messiah (as).

    The picture has two meanings.
    Using the symbolism “Stability”.

    The stability or completeness of physical, emotional, mental & spiritual before reaching death. In the picture, the rabbit means animal and the Man means evolving to high spiritual status.

    The stability of his pious community after death. The circle under the rabbit means a worldly kingdom. The circle under the man means spiritual kingdom which is Ahmadyyiat.

    To close, the line that is sticking out means the end of life in this world and entry into a higher dimension, Paradise.

    Reply and let me know what you think.

  • Currently, we are still struggling with fitology. It’s , the name is also occult, ghaib kind of. There is a time or era, things that are unseen or things that cannot be explained scientifically, will definitely be fulfilled and happen; إن شآء الله ,❕✨

  • I ran this in ChatGPT. Here is what I got.

    analyze this number sequence: 28–27–14–2–27–2–26–2–28–1–23–15–11-





    ChatGPT: The number sequence seems to be a mix of numbers ranging from 1 to 47, with some repetitions. Without further context, it’s difficult to determine the pattern or rule that governs the sequence.

    However, some observations can be made:

    The numbers seem to be randomly arranged, with no clear increasing or decreasing order.
    Some numbers, such as 28 and 27, appear multiple times in the sequence.
    The sequence includes some single-digit numbers, such as 1, 2, 5, and 7, as well as some larger numbers like 34 and 47.
    There are some pairs of numbers that repeat, such as 14-2, 2-27, and 34-11.
    Without additional information, it is not possible to discern any clear meaning or pattern in this sequence.

    I asked it if there are any other patterns you can discern.

    ChatGPT: Looking more closely at the sequence, I noticed a few additional patterns:

    The number 2 appears three times in a row at one point in the sequence: 2-26-2.
    The numbers 14, 27, and 34 appear relatively frequently throughout the sequence.
    There are several instances of consecutive numbers that are one unit apart, such as 27-28, 10-1, and 1-2.
    There are also some instances of consecutive numbers that are four units apart, such as 23-27 and 11-1.
    However, despite these patterns, there doesn’t seem to be a clear rule or formula underlying the sequence as a whole. It’s possible that additional context or information could reveal more about the sequence, but based on the numbers alone, it’s difficult to draw any firm conclusions.

    I then asked if there were any additional patterns that come to mind?

    ChatGPT: After taking another look at the sequence, I noticed a few more patterns:

    There are several instances where the number 1 appears after a larger number, such as 28-1 and 47-1. This suggests that 1 may be serving as a sort of reset or starting point within the sequence.
    There are a few instances where the same two numbers appear in reverse order, such as 14-2 and 2-14. This could suggest some sort of mirroring or reflection within the sequence.
    The sequence includes a few instances of repeating patterns of three or four numbers, such as 7-34-11 and 14-7-2-1-7-5-1-14-1.
    The numbers 11, 14, and 27 all appear multiple times and in close proximity to one another in the sequence.
    Again, while these patterns may be interesting, it’s difficult to determine any clear overall structure or meaning to the sequence as a whole without additional context.

    I then asked it, this sequence was a revelation from God.

    ChatGPT: As an AI language model, I don’t have beliefs or opinions regarding religious matters. However, if the sequence was presented as a religious revelation, it would be important to interpret it within the context of that particular religion’s beliefs and practices. It’s possible that the sequence may hold some special significance or meaning within the specific religious context, but without further information, it’s impossible for me to say.

    • Assalamo Alaikum Wa Rahmatullah

      I tried out ChatGPT as well.

      Unfortunately, I couldn’t get the program to recognise the “-” symbol at the ends of lines 1, 4, and 5. I even made it save each line separately. Every now and then I would give the command “Print line #”, and after a while the program started making up sequences and analysing them instead!

      In your case, it seems like the numbers were analysed without considering the dashes, as shown by the response, “There are also some instances of consecutive numbers .. such as … 11-1.”
      “11-1” doesn’t appear in the same line. Nevertheless, the observations were interesting.

      Eventually, I asked the program how I might save a data set in it’s memory, and the program gave me a solution:

      Sequence = “28–27–14–2–27–2–26–2–28–1–23–15–11–\n1–2–27–14–10–1–28–27–47–16–11–34–14–11\n7–1–5–34–23–34–11–14–7–23–14–10–1\n14–5–28–7–34–1–7–34–11–16–1–14–7–2–1–7–5–1–14–1–\n14–2–28–1–7–”

      \n is basically new line.

      I’m going to try analysing the sequence again later.

    • I see that number 9 is missing in all these numbers. Could it be that instead of decimal system, it may be in a 9 based system, as the digits found in these numbers run fro 0 to 8. Assuming them in based-9 and rewriting them in our based-10 system these will be:
      Still no clue!

    • My daughter and I think it has to do with extraterrestrial intelligence, potential coordinates, or potential formula that may allow for travel or can be corroborated upon the fulfilment of the prophecy of contact with extraterrestrials. Allah knows best.

  • Assalam O Alaikum WW. I think that I (alongside others) have figured it out with the help of ChatGPT.

    Here is the final message:

    “Sufyan is the Promised Messiah and Imam Mahdi. Believe in him and follow him. There is none worthy of worship except Allah.”

    Sufyan means “bright”, “clear”, or “pure”. Meaning this is basically saying:

    “Bright, Clear and Pure is the Promised Messiah and Imam Mahdi. Believe in him and follow him. There is none worthy of worship except Allah.”

    The article (this exact one) mentioned a code that consisted of a series of numbers separated by dashes, which was suspected to be a coded message from the founder of the Ahmadiyya Muslim Community, Mirza Ghulam Ahmad. The possible explanations for the code were examined, and it was concluded that the code represented numbers in the Arabic abjad system. Using a chart of the Arabic abjad system, the numbers were converted to their corresponding letters in the Arabic alphabet. The resulting sequence of letters spelled out the name “Sufyan.” Further research was conducted (By chatgpt) on Sufyan in Islamic eschatology, where it is believed that the Mahdi or Guided One will emerge as an end-time figure. In some Islamic traditions, the Mahdi is also referred to as the Promised Messiah or Imam Mahdi. Combining this information with the decoded message, it was inferred that Sufyan is the Promised Messiah and Imam Mahdi. The decoded message was “Sufyan is the Promised Messiah and Imam Mahdi. Believe in him and follow him. There is none worthy of worship except Allah.” It was noted that “Sufyan” likely referred to Mirza Ghulam Ahmad, as this was a name he used to refer to himself.

  • I also tried running the symbol in ChatGPT. This one is interesting:

    ME: do you recognize this symbol:

    ChatGPT: The symbol in the image appears to be the Basmala, which is a phrase used in Arabic and is the Islamic phrase bismillāhi r-raḥmāni r-raḥīm (بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ). It translates to “In the name of God, the Most Gracious, the Most Merciful” and is used at the beginning of many chapters of the Quran and in various Islamic contexts.

  • Hope this helps someone, maybe each line represents something different and the same pattern does not apply.

    Number Element
    28 Nickel (Ni)
    27 Cobalt (Co)
    14 Silicon (Si)
    2 Helium (He)
    26 Iron (Fe)
    1 Hydrogen (H)
    23 Vanadium (V)
    15 Phosphorus (P)
    11 Sodium (Na)
    10 Neon (Ne)
    47 Silver (Ag)
    16 Sulfur (S)
    34 Selenium (Se)
    7 Nitrogen (N)
    5 Boron (B)