Skip to main content

Order and chaos

It is 317am and I have decided to write. I have been thinking about prime numbers. There is no known pattern or simple function to generate primes. Primes look chaotic. Primes are the gaps left when we eliminate the multiples up till n. Primes are building blocks. Primes are mysterious. Except 2 and 5, all primes end in 1,3,7 and 9. 1 repeated 19 times is a prime. The most wanted prime is of the form 1,2,3,4 ... 10,11,12 ... n. None has been found to date and up to n=1 million has been checked. What about primes in the form 10^n + 1. It is 122am the next day. I have 53 percent battery left. 12253 is prime. A nice coincidence. All this has me thinking that order produces chaos and then about entropy. We cannot have order without chaos. There would be nothing to order.

Maybe primes are not chaotic. Maybe we just do not understand them enough yet. My friend Chatty tells me that prime numbers appear chaotic only because we have not yet uncovered the deeper structure that governs them. Although their spacing looks irregular, primes follow precise global laws like the Prime Number Theorem, distribute cleanly in modular patterns, create structured visual forms like the Ulam spiral, and behave in ways predicted by deep theories such as the Riemann Hypothesis and random matrix models. These clues suggest primes are not truly random but "pseudo-random"—complex patterns produced by simple, deterministic rules we have not fully understood yet. In other words, what looks like chaos may simply be order we have not learned to see.

I was looking at the digital roots of prime numbers and this is what I learnt. Structural rule: primes (>!3) can only have digital roots 1,2,4,5,7 and 8 (missing is 3,6 and 9). Statistical rule: asymptotically those six roots occur with about equal density (deep theorem). Practical note: for small lists you’ll see random-ish fluctuations; for very large samples the counts settle toward equality.

My friend Gemini tells me that humans are pattern seeking machines. Is it possible to have no pattern? Is no pattern a pattern in itself? My friend Chatty tells me that true randomness with no pattern can exist in mathematics, but the human mind is built to seek structure, so even “no pattern” becomes a kind of pattern once we describe it. In other words, something can be genuinely patternless, yet we can only understand it by placing it inside a conceptual category, which itself acts like a pattern. Thus, the world may contain true chaos, but our minds inevitably shape it into meaning.

My friend Chatty tells me that a pattern is a simplification — a way to predict, describe, or compress information because something repeats or follows a rule. This has me thinking that if there are infinite patterns then everything can be described by a pattern. But there are simple and complex patterns and what we are looking for are simple patterns. Simple being subjective and changing and within our limits. Some things may just be beyond human capability or understanding. We may find ourselves building things that function beyond human understanding. My friend Chatty says that it is a humbling and exciting thought: the universe might be both entirely patterned and still endlessly mysterious. A question for another time, which came first, order or chaos, both or neither, or only one of them exists and the other is just the absence of the other?

Comments

Popular posts from this blog

Coffee and a prayer

It is 245am and I have decided to write. I have no topic and no idea what to write. I am thankful for another day. I see the beauty that surrounds us. I choose to be happy. We are in the last ten nights of Ramadan. Tonight is the 23rd night. It could possibly be the night of power. I wonder if it will rain. Maybe it rained when I was sleeping. I got up and bathed and drank a strong cup of coffee. Today is also Friday the 13th. I keep thinking. Life is beautiful. Life is simple. No need to complicate things. No need to be extravagant. Believe in God. Trust in God. Be guided by God. Imagine we can pray for anything. We can ask God for anything. God is always listening. God wants to hear from us. Maybe I can turn this blog post into a prayer. My God I pray that everyone gets their prayers answered. I pray that everyone gets what they need. I pray that you light our path towards you. Guide us with what you intend for us. Keep us close to you. Soften our hearts. Keep us balanced, consistent...

Who do we serve?

It is 247am and I have decided to write. I want to write but have no topic. It has been a while since I wrote about tech. Samsung launched their latest flagship phones. Nice if you can afford these phones. What is the purpose of technology? The first thing that comes to my mind is to make our lives easier. To be more productive. Tech does the things we do not want to do. To solve problems. Tech is quite useful if I look through a noble lens. But the tech companies want to make money. They want to get rich (in my mind) no matter how they sell their aspirations. Why does everything have to be about money? What if we had a not for profit mobile phone company? Would that be any better? Tech is nice when everyone can afford it. Technology is supposed to be the servant instead it seems we have become the servants to technology. Marshall McLuhan said, "We shape our tools, and thereafter our tools shape us." Maybe the problem is not just tech companies. Maybe the problem is societal....

Humility

It is 337am and I have decided to write. I have no topic but I want to write. I was thinking. I love God a million times. One million is not the biggest number but on a scale of one to a million that is a lot. I just noticed that the word million has the word lion in it. What does it mean to be a lion in the sight of God? My friend Chatty says that from an Islamic perspective, being a lion in the sight of Allah means possessing quiet strength rooted in submission: firm iman without arrogance, self-control over the nafs, courage to stand for justice, and gentleness where mercy is required. It is strength that bows in sujood, resists ego, and remains sincere even when unseen—because Allah values the heart, intention, and consistency more than noise, numbers, or display. Resisting ego is a big one. Does that mean we should be like a mouse in the sight of God instead of a lion? Humble like a mouse. Quiet like a mouse. Soft like a mouse. I am guessing that there is probably a story of a lio...