Moodle by Ciro Santilli 35 Updated +Created
MATLAB methlab pun by Ciro Santilli 35 Updated +Created
Are there infinitely many Mersenne primes? by Ciro Santilli 35 Updated +Created
Lucas-Lehmer primality test by Ciro Santilli 35 Updated +Created
Diffraction limit by Ciro Santilli 35 Updated +Created
Type of microscopy by Ciro Santilli 35 Updated +Created
Inflection by Ciro Santilli 35 Updated +Created
Perfect information by Ciro Santilli 35 Updated +Created
Admissible prime k-tuple by Ciro Santilli 35 Updated +Created
Twin prime by Ciro Santilli 35 Updated +Created
@cirosantilli/_file/prime-number-theorem by Ciro Santilli 35 Updated +Created
Consider this is a study in failed computational number theory.
The approximation converges really slowly, and we can't easy go far enough to see that the ration converges to 1 with only awk and primes:
sudo apt intsall bsdgames
cd prime-number-theorem
./main.py 100000000
Runs in 30 minutes tested on Ubuntu 22.10 and P51, producing:
Figure 1.
Linear vs approximation plot
. and are added to give a better sense of scale. is too close to 0 and not visible, and the approximation almost overlaps entirely with .
Figure 2.
. It is clear that the difference diverges, albeit very slowly.
Figure 3.
. We just don't have enough points to clearly see that it is converging to 1.0, the convergence truly is very slow. The logarithm integral approximation is much much better, but we can't calculate it in awk, sadface.
But looking at: en.wikipedia.org/wiki/File:Prime_number_theorem_ratio_convergence.svg we see that it takes way longer to get closer to 1, even at it is still not super close. Inspecting the code there we see:
(* Supplement with larger known PrimePi values that are too large for \
Mathematica to compute *)
LargePiPrime = {{10^13, 346065536839}, {10^14, 3204941750802}, {10^15,
     29844570422669}, {10^16, 279238341033925}, {10^17,
    2623557157654233}, {10^18, 24739954287740860}, {10^19,
    234057667276344607}, {10^20, 2220819602560918840}, {10^21,
    21127269486018731928}, {10^22, 201467286689315906290}, {10^23,
    1925320391606803968923}, {10^24, 18435599767349200867866}};
so OK, it is not something doable on a personal computer just like that.
There are infinitely many Pythagorean triples by Ciro Santilli 35 Updated +Created
Direct consequence of Euclid's formula.
Fermat's last theorem by Ciro Santilli 35 Updated +Created
A generalization of the Pythagorean triple infinity question.
TeachMeAsap.com by Ciro Santilli 35 Updated +Created
They sent one of the rare spams Ciro actually was interested in!!! Likely going down lists of top Stack Overflow users.
They have some kind of cryptocurrency, TCHME token, as a reward. Ciro wonders if the value of TCHME will ever be high enough to serve as a valid incentive.
Also, what is the total TCHME supply? Can the website devs issue as much as they want? They do giveaways e.g. as shown at: twitter.com/TeachMeAsap/status/1621353671840899072
And a centralized system with a certralized marketplace would work just as well for the initial phases. But fair play, the idea is interesting.
Parody religion by Ciro Santilli 35 Updated +Created
Robot simulator by Ciro Santilli 35 Updated +Created
Rock musician by Ciro Santilli 35 Updated +Created
List of static site generators by Ciro Santilli 35 Updated +Created

Unlisted articles are being shown, click here to show only listed articles.