Skip to main content

Food for thought

I was thinking about pi last night and wondering if it really does have infinite decimal places that do not repeat. Then I came across this and this today that made me curious more and want to study pi some more. Basically this blog post is about me asking questions. Can I say that the topic is pi-quant. Interestingly enough the word piquant has two meanings 1. having a pleasantly sharp taste or appetizing flavor and 2. pleasantly stimulating or exciting to the mind.

Is it a fact that pi has infinite decimals after the point that do not rep-eat? (I see what I did there). I must be thinking of f∞d. According to my friend Bard, the answer is yes and has been proven to be irrational. Is this true for all irrational numbers? Also yes. While chatting with Bard, I noticed a pattern that 1/17 has a 16 digit repeating pattern and 1/23 has a 22 digit repeating pattern and 1/97 has a 96 digit repeating pattern. An approximation to pi is 22/7 which involves 1/7 and this has a 6 digit repeating pattern.

This leads me to some questions. Is there a general rule for the relationship between numerator and denominator and the length of the repeating pattern? Can I say that 1 divided by infinity will give a repeating pattern that is infinity-1 in length? And is that useful to think about somehow? Is pi related to division by infinity or infinity in some useful way that we have not thought of already? To me the infinity symbol is really a circle that has been twisted. According to my friend Bard, the earliest known symbol resembling infinity dates back to ancient Egypt and Greece, where it appeared as a serpent or dragon eating its own tail, called Ouroboros. According to wikipedia π is the sixteenth letter of the Greek alphabet and it has a value of 80 in the Greek numeral system and it came from the Phoenician letter pē, which meant mouth.

Now some more thoughts and questions. If I have a number I can always add 1 to it to make it bigger. Is it true to say that if I have a non-repeating number pattern I can always make it longer by repeating the pattern twice and combining those and changing the last digit up or down by 1? This works if the number is base-2 or higher. But in base-1 there are no non-repeating numbers and in base-infinity every number is a non-repeating number as you would need a different symbol to represent each number.

Which leads to my final two questions. In base-2 there are certain fractions that cannot be represented accurately as they are in base-10. Does this mean that there might be a higher base that we can use to represent pi finitely and accurately? I think the answer is no because irrationality is a property of the number and not because of its representation but I still have to ask. Is it possible to create a number system where every number is represented as related to pi? Writing this blog post has given me some food for thought and enough to want a pi-ece* of pecan pi-e and learn about pi and infinity some more. It does help that pecans are shaped like brains and can be considered brain food. Share your interesting finds about pi in the comments below.

*Here ece from pi-ece of pi-e could be short for euler's constant (e) - which is a related and fun concept

*Also I discovered that my blog post has 3141 characters if I include title and delete one word at the end (below) and I ignore punctuation (73) and ignore numeric characters (34). An interesting (to me) coin-c-id-ence - id being pi if I flipped it - like flipping a coin - head and tail - which takes me back to Ouroboros. Maybe the c in coin-c-idence could be circle.

*Correction e=eulers number which is different from eulers constant (γ)

Comments

Popular posts from this blog

Hobby project - Store and view exchange rates

The next step in my project was to test out being able store and display the rates in a database. I decided to use nodejs and supabase for this. Everything worked beautifully. Only hickup was the following error due to my package.json not being correct. SyntaxError: Cannot use import statement outside a module Added this to package.json   "type": "module" This works beautifully. Right now I am just testing fragments of what could be part of a bigger system to see what is possible and what works and how easy to code on a mobile. There is no fully functioning integrated end to end system just yet. This is also what I tested. A serverless append-only database using GitHub + Actions + Pages. That’s basically a lightweight backend system. This was the ChatGPT prompt I used. Guide me through each step. This is what I want. A manually run github actions that adds to docs/data.json with the current date and time. docs/index.html displays all the entries in data.json. Make s...

What is important

Every now and again, I get reminded of the why. Why I have handed my life over to God. It is 3:08 p.m. and I have decided to write. Honestly, I feel like I could end this blog post right here. What more is there to say? God above all else. God is our compass on this journey called life. Everything else can become a distraction. Maybe not everything, but certainly many things. You get the point. What is important? What do we prioritise? What do we make time for? The answers look different for everyone. Our lives are different. We are tested differently. We are all products of our circumstances, and those circumstances vary from person to person. Yet God is the common thread across humanity and throughout time. God always was and always will be. One day, we will answer to God. We will give account to God. We cannot live without food, water, and oxygen, but all of those things come from God. So how can we live without God? How timely. I just received a notification from the Quranly app: S...

Running php and apache on termux

This was my experience getting php and apache to run on termux apt update && apt upgrade -y apt install php-apache I was following an old blog post that used php 7 and got these errors Can't locate API module structure `php7_module' in file /data/data/com.termux/files/usr/libexec/apache2/libphp.so: undefined symbol: php7_module Cannot load /data/data/com.termux/files/usr/libexec/apache2/libphp7.so Corrected in apache config file vim $PREFIX/etc/apache2/httpd.conf LoadModule php_module /data/data/com.termux/files/usr/libexec/apache2/libphp.so Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.  You need to recompile PHP. Comment out mpm_worker and use mpm_prefork #LoadModule mpm_worker_module libexec/apache2/mod_mpm_worker.so LoadModule mpm_prefork_module libexec/apache2/mod_mpm_prefork.so This still does not work as apache (httpd) was failing silently. According to Chatty LoadModule php_module ...libphp.so often fails in Termux becau...