26/04/2026

More playing with the Chaos Game

This blog post is a follow-up for two previous blog posts: "I was programming fractals a bit" and "More fractal wallpapers related to the Sierpinski Triangle". First it came to my mind that I could transform the coordinates of the next iteration point by taking the distance between 0 and 1, then executing "y=Math.sqrt(x*(2-x))" or "y=1-Math.sqrt(1-x*x)" on the distance, and then getting the transformed point based on the new distance. However, this idea did not provide nice pictures, unless I made a mistake in the algorithm:

1. Fractal-like picture by mistake:

2. Fractal-like picture by mistake:

After I've figured the mistake out, I realized that I can make nicer fractals if I get a weighted arithmetic mean between x and y as described above (because my original transformation was too much). So here are some nicer pictures:

3. (Math.sqrt(num*(2-num)) + 4*num) / 5:

4. ((1 - Math.sqrt(1-num*num)) + num) / 2:

5.  The same as above, but added triangles in the centers:

So these are the ideas I had for triangles, not as nice as expected. Another idea has come to my mind that I could also do the same with regular heptagons and the colors of the rainbow instead of just red, green and blue in the corners. I did not feel like to spend the time computing every ratios exactly, so the following pictures are the result of experimentation with shrinking values:

1. Regular heptagon fractal wallpaper on black background:

Regular heptagon fractal wallpaper on black background
 

2. Regular heptagon fractal wallpaper on white background:

Regular heptagon fractal wallpaper on white background

I think that's all for today... but I also have other ideas for programming math pictures, not only fractals... I may implement them if I have free time for it, and feel like to do it.

25/04/2026

I didn't win on the Gravity Research Foundation 2020 Awards for Essays on Gravitation

I've found this essay among my old emails (in PDF), and I thought why not publish it here?

On the gravitational effects of third bodies on two specified bodies in space, and their consequences

Abstract:

In a system of many objects or bodies, the movements of two bodies close to each other are determined not only by their own masses, locations and velocities, but also by the masses, locations and velocities of all the other (third) bodies in the system. In some cases the gravitational fields of these third bodies act to increase attraction between the two specified bodies, but in some other cases they act as if to cause some degree of repulsion between the two bodies, like a tidal force. The author argues that this might be the real cause of many flat structures in the Universe, like the rings of Saturn, the planets of the Solar System, or the stars of the Milky Way.

Content:

Gravity is not as simple as calculations with the center of mass. Even in case of three bodies, the resulting problem of calculating their motions turned out to be very difficult, called the three-body-problem [1]. For the same reason, and also because I am not a Physicist (etc), I cannot come up with final calculations on the subject in the meantime. I just have one simplified example as follows: Let A and B be two bodies (actually point masses) of mass m, and their distance be 2s. Let O be the midpoint of the AB segment. Let c be a circle with midpoint O and radius 3s. For the sake of simplicity, our third bodies will be on the circle c. If the circle had a larger radius, our results would be similar, just different in scale. Let C1 and C2 be the intersections of the line AB and the circle c. Let e be a line through O perpendicular to the line AB, and let C3 and C4 be the intersections of the line e and the circle c. Let C1, C2, C3, and C4 also be point masses, or third bodies of mass m, and of course, let the initial velocities of A, B, C1, C2, C3 and C4 all be zero. Here is the figure:

Now we could apply the Newtonian equation of universal gravitation [3] to (approximately) get the forces which would move our bodies or point masses (F=G*m^2/r^2). C1 attracts A by F_A=G*m^2/(2s)^2, while C1 attracts B by only F_B= G*m^2/(4s)^2. As a result, C1 will cause A and B to increase their distance (of course, this will not be realized as A and B also attract each other, but still, their distance will be greater with C1 than without it). C2 will behave the same way as C1 did. However, C3 and C4 are in another position, and they will make A and B to be closer to each other than without C3 and C4. As for other possible bodies, on the circle c or farther, their effect on A and B will be somewhere in-between the repulsive (tidal [2]) effect of C1 and C2, and the attractive effect of C3 and C4. What does this mean? To me, it probably means that three-dimensional structures (with alike sizes in each dimension) tend to collapse, but flat structures tend to be preserved more. This could be the cause of why many structures in the Universe are (somewhat) flat: the Milky Way, the Solar System, and the rings of Saturn. Of course, this is harder to see in three dimensions with all the bodies having initial velocities (in different directions) and different masses, so I may let the evaluation of this to my Physicist readers. (Note that the WikiPedia article on „tidal force” [2] also mentions that the ring system of Saturn is caused by the tidal force, however, another WikiPedia article says that there is still no consensus as to how the rings of Saturn were formed [7].) Why is this important? Because otherwise the flatness of the celestial structures may be explained by other theories, like that which I have watched in a YouTube video by „minutephysics” entitled „Why is the Solar System Flat?” [4]. It says that every three-dimensional cloud of matter has a plane which defines its total angular momentum, which is preserved due to the law of conservation of angular momentum [5]… that's OK... but it also says that the matter not on this plane gets closer to it due to collisions between celestial bodies (maybe coming from different sides of this plane). Here I would argue that no collisions are necessary, but celestial bodies might arrange themselves near a plane for reasons I described above, i. e. the gravity of third bodies (but afterwards, they might collide as well, of course, especially when they enter into the stronger gravitational field of one another). Also, the „collision theory” might not adequately explain why the rings of Saturn are composed of so small objects, or why the asteroid belt [6] is there between the orbits of Mars and Jupiter. Well, I have come up with this idea of mine in 2014 or 2015, and included it in my math blog, and I might also have shared it on UseNet. Since then, I deleted that math blog of mine, and it was offline for about 5 years. Recently I have put some parts of it on the net again, with a different address, and some edition, so you could read my brief mentioning of this topic there [8]. I am not a Physicist, so I think it would be good if this topic were reviewed by some Physicists competent on this area.

References:
[1] Three-body problem, WikiPedia
https://en.wikipedia.org/wiki/Three-body_problem
[2] Tidal force, WikiPedia
https://en.wikipedia.org/wiki/Tidal_force
[3] Newton's law of universal gravitation, WikiPedia
https://en.wikipedia.org/wiki/Newton%27s_law_of_universal_gravitation
[4] „Why is the Solar System Flat?” by „minutephysics”, YouTube
https://www.youtube.com/watch?v=tmNXKqeUtJM
[5] Conservation of angular momentum, WikiPedia
https://en.wikipedia.org/wiki/Angular_momentum#Conservation_of_angular_momentum
[6] Asteroid belt, WikiPedia
https://en.wikipedia.org/wiki/Asteroid_belt
[7] Rings of Saturn, WikiPedia
https://en.wikipedia.org/wiki/Rings_of_Saturn
[8] Noble challenge: search for an error in Mathematics (my blog post mentioning this idea) from the blog „Recreation in Mathematics by Árpád Fekete” (dead link removed)

16/04/2026

More fractal wallpapers related to the Sierpinski Triangle

You may have seen the result of my playing with the Chaos Game, to make some fractal wallpapers related to the Sierpinski Triangle.

Today I've felt like experimenting a bit more with this, using some newer ideas. I'm going to share the result here, 4 new fractal wallpaper pictures. (The JavaScript code is not looking very nice, but if I'll feel like to clean it, I may put it on GitHub in the future...)

1. Filling the center of the Sierpinski Triangle as well, but change the ratio of shrinking so that there should be black areas in the fractal as well.

Modification of the Sierpinski Triangle like colored window

2. Partially filling the center of the Sierpinski Triangle.

Partially filling the center of the Sierpinski Triangle

 3. Rotate the smaller triangles in the Sierpinski Triangle.

Rotate the smaller triangles in the Sierpinski Triangle

4. Use different shrinking ratios, so this looks like like cell division / fission.

Division of the Sierpinski Triangle

Summary: I could not make more interesting images than in my previous blog post about this (linked in the beginning), but at least I played a bit and used some Mathematics (without having proof about it in my mind).

05/07/2025

I did not find interesting polyhedra containing the regular heptagon

As I was thinking more about this, what I also mentioned in an earlier blog post of mine (about polyhedra), I realized that I cannot find interesting new polyhedra that are not yet discovered, and somewhat regular, and maybe contain the regular heptagon. For example, I was thinking about three different regular heptagons ABCDEFG, HIJKLMN, OPQRSTU in 3 dimensions where A=H, B=I, O=K, P=J, Q=C, R=D. Then I conjectured that this way of putting together regular heptagons (so that at each edge, two-two heptagons should meet this way, by this angle) could be continued (in a way that these heptagons can intersect), but would end after some time, and the result (all of the points and the heptagons) would make an interesting (probably concave) new polyhedron. Whether or not the process ends, I planned to check by computer (approximately).

However, today I approached the problem differently. I asked the question: on the plane, can regular heptagons be put together at their edges, so that two-two regular heptagons should meet at each edge, and in a finite part of the plane there should be a finite number of heptagons? Then I realized that there will be 14 edges around a vertex of a heptagon, and the angles between these edges will be π/7. The angles of the heptagon are (2*π)*5/14, or π*(7-2)/7, by the way (and 5 and 14 are relatively primes). Then I found that two adjacent edges (around a vertex) will form a triangle whose angles are (π/7, 3π/7, 3π/7) and therefore, the third edge of this triangle will be shorter than the edges of the heptagons. However, these shorter segments are also around a vertex of the heptagons, connecting other vertices of the heptagons to it, and there are again 14 of them, with angles π/7 between them. We can do this process again and again, getting smaller and smaller segments. Therefore, there should be an infinite number of vertices, if we try to put together heptagons on a part of the plane (even if they intersect).

Well, it has come to my mind that I could try to reason somewhat like this (by analogy), about heptagons in the 3D space (or on a spherical surface). Of course, this problem is harder, so I shall suppose that the edges of the heptagons are the smallest distances between two points of the supposed resulting polyhedron. Otherwise I may find smaller and smaller segments by a way analogous to the previous reasoning, and conclude that the process of forming the polyhedron will not end. Then I realized that it is not possible for 3 or 4 regular heptagons to meet at one vertex. It is possible for 5 or more heptagons to meet at one vertex, if these heptagons intersect, and also intersect with the diagonals of the pentagon (or more) that is projected around this vertex. However, 6 or more heptagons meeting at one vertex will make smaller segments (as distances between vertices) than the edges (sides) of the heptagons. The only possible way seemed to be 5 heptagons meeting at one vertex, but I checked this possiblity and it looked impossible. Of course, all of this reasoning of mine is not Mathematically precise or perfect, but it is enough for me to reject and cancel further work on this topic, as my time is very precious.

What's next for me in Mathematics? I think I'll train myself in Number Theory (both by reading books about it and by solving KÖMAL exercises of type B, or later even of type A). (Fortunately, I have a lot of books and ebooks about Mathematics now, I do not need more for a long time.) Then I'll probably try to prove or disprove the Beal conjecture or the Goldbach conjecture... but if Mathematics remains hard for me, maybe I'll try to get rich quick by other means, too (e.g. writing books or composing music by LMMS).

16/06/2025

I didn't win on the Alpine Fellowship Writing Prize, 2025 (On Fear)

I didn't win on the Alpine Fellowship Writing Prize, 2025 (on the topic "Fear"), I got a notification about it today. Thus I'm going to share my essay here, because it is non-fiction (but I do not plan to share my losing poetry or fiction):

VIPs can fear

I fear of dogs, especially the large ones like a pit bull, especially when there are more of them. I would like to show you that I am right. Flies do not seem to fear, neither do locusts. That is because it is a good strategy for them not to fear in the struggle for existence. Many other animals fear, however, humans included. That is because evolution favours fear in many cases. Thus it is reasonable to fear sometimes, and it is reasonable not to fear at other times. Still, there are people who tend to fear more often, they are the cowards. Traditionally, cowardice is considered a bad trait, while its opposite, courage is considered a virtue since at least Aristotle. Indeed, Aristotle taught courage (and not audacity), and his disciple, Alexander the Great successfully applied it to spread the ancient Greek language and culture more in antiquity. However, this fact does not justify the claim that courage is better than cowardice in general, or in our case of fear of dogs. We need to examine the question further.

As far as we believe, Socrates, Aristotle's teacher's teacher, said that "Virtue is knowledge", and Aristotle himself taught that "Courage is a virtue", so if both Socrates and Aristotle were right, then we could infer that "Courage is knowledge". According to this theory, the people who know more about dogs and about fighting may be usually less afraid of dogs than those who only have their instincts of fear. For instance, news about someone strangling a cougar has given me some more courage against dogs. Other examples may be found in the novel "Call of the Wild" by Jack London, so this could also help, at least when we have clubs. (People with clubs could easily beat dogs in that novel.) Still, there are many times when I fear of dogs and I don't think that more knowledge could help, except for knowledge about Heaven. There is also knowledge that increases fear, like the Wikipedia List of fatal dog attacks including a lot of cases about pit bulls. Simply, there may be cases where the chances of dogs are better in a fight. Consequently, cowardice in these cases may be a virtue, if virtue is still knowledge.

Perhaps it will be enlightening to you if I share the details of some specific cases where I fear of dogs. The shortest route from/to the city center passes by a house with a German Shepherd dog there. The gate is usually closed, but sometimes it was open and the owner of the dog was there. Therefore, I usually take another route. (Once I went that way in spite of the dog and the gate open, because I was in a depressed mood.) In other cases, we went to my grandmother's house by bike. There is a house with many big dogs on the way, where the gate is usually closed, but sometimes it was open and the owner of the dogs was far away in the house. Therefore, I prefer not going that way, if I can... and I do not bless those who keep big dogs.

Am I a coward? This really seems to be so, because I am also timid when approaching women. But I can explain. One of my acquaintances has told me that he drank alcohol to pluck up courage to talk to a girl. Our fear of courtship might be justified when we unconsciously feel that the girl or woman is not the right companion for us. Otherwise, our Nature may allow us to overcome this fear anyway. Now if not everyone can be our partner, then we are VIPs (very important persons), at least to ourselves! Thus the lack of bravery might mean something positive, something of value! VIPs also deserve more protection from dogs and from other attackers. Fear can mean such a protection. VIPs should not depend on the mercy of dogs!

Once I walked in the city, and I saw a German Shepherd dog (or a similar one) on the other side of the street closed in a large yard. As far as I remember, it saw me, too. I raised my arm and shaped my fingers as if I were holding a sword. I imagined that it was the Sword of God (Sword of Attila) or a lightsaber (from Star Wars). Then the dog seemed to fear and whine.

14/03/2025

I was programming fractals a bit

It is easy to draw a Sierpinski triangle by programming, there is an easy algorithm for that called the Chaos game. By enhancing this method, I generated some fractals today afternoon. My main goal was to prepare a picture for a physical present that I'm going to give to someone. However, since I've written the program, I've also generated some wallpapers for myself. I'm also going to share these pictures on this blog. First comes the original Sierpinski triangle, colored by my idea:

Sierpinski triangle wallpaper

Next comes the "Golden Sierpinski triangle" that I also added earlier to the fractal drawing software XaoS (but XaoS uses a different algorithm and different coloring). It uses the reciprocal of the golden ratio for shrinking instead of 1/2:

Fractal wallpaper

Next comes the same fractal, if I do not run the Chaos game long enough:

Fractal wallpaper, rare
 

Happy PI Day, 2025!

29/01/2025

Many ways to practice Mathematics (some interesting links)

I thought that I knew all the best English-language and German-language podcasts about Mathematics, but some days ago I've found two that are not only alternatives, but may also be better than the others! The first one is called "My Favorite Theorem", and it is accessible on the following link:

https://kpknudson.com/

The other is called "Breaking Math", and it is found here (Maybe I knew the title of this one, but I could not access it on another location for dead links):

https://www.breakingmath.io/

Maybe there will be more. Thus I'm going to listen to these podcasts (EDIT: except Breaking Math, as it is only accessible through service providers which prohibit use for commercial purposes), even if I did not plan to listen to new podcasts in 2025. Earlier I have also started to read free google books, and I first read about the history of Mathematics. As far as I remember, I read "A General History of Mathematics" by John Bossut in 2024, and I'm currently reading "A Short Account of the History of Mathematics" by W. W. Rouse Ball, and I like the latter more than the former, so I can recommend the latter (maybe it is best to read both). I've also read "A History of the Mathematical Theory of Probability" by I. Todhunter in 2025, but although it has broadened my horizons, it was not entirely intelligible to me, due to its complicated integrals and other things hard to understand. It did not make me feel like doing this kind of Mathematics, although I still had a takeaway: the St. Petersburg Paradox. Apart from these resources, I've also found a very good resource for Mathematics, which can be found here:

https://planetmath.org/

It has a similar licence as WikiPedia, so maybe these two are the best places to read about advanced Math. I especially liked the proof of Lagrange's Four Square Theorem here:

https://planetmath.org/proofoflagrangesfoursquaretheorem

Recently I was also interested in Symmetry Groups and Point groups in three dimensions, but it is still hard to understand for me, whether these theories prevent me from discovering such polyhedra that are highly symmetric, but yet unknown. After these articles, it seems to be harder to imagine that I will be able to discover anything new in this field. That's why I'm also turning part of my attention to Number Theory, first by solving easier exercises, e.g. from KÖMAL. By the way, I have also received an old Number Theory textbook for Christmas (translated to Hungarian from Russian).

By the way, after listening an episode of the "My Favorite Theorem" podcast about the Gauss-Bonnet Theorem, I have found (again) that my discovery that I mentioned earlier on this blog is already known as Descartes's Theorem on the "total defect" of a polyhedron. So this was a summary of my recent Math life.

About Writing, I have also some things to share. Nowadays there are less international essay contests for adults (with acceptable terms) than there were earlier, but maybe it's good to know that there may also be opportunities to publish works in journals, and the best articles in those journals may win prizes. I've found the "Royal Economic Society Prize" and the prizes of "The American Finance Association". Apart from these, I could also subscribe to the newsletter of the "Independent Social Research Foundation", maybe there will also be some good opportunity there.