top of page

Python


Think Less, Save More: Reducing Energy Footprint with Modular AI
Generated by ChatGPT 4o In machine learning — and in human reasoning — we often make the basic but critical mistake of expecting a single...
Istvan Benedek
Mar 303 min read


MacBook Pro M3 Max vs Windows PC in the Ultimate C++ Performance Battle
https://medium.com/@istvan.benedek/macbook-pro-m3-max-vs-windows-pc-in-the-ultimate-c-performance-battle-4e25d27e7334
Istvan Benedek
Aug 27, 20241 min read


MLX/Pytorch speed analysis on MacBook Pro M3 Max
Two months ago, I got my new MacBook Pro M3 Max with 128 GB of memory, and I’ve only recently taken the time to examine the speed...
Istvan Benedek
Mar 6, 202411 min read


Number pyramid
Here is the code for building up a number pyramid where the line goes from n^2+1 up to (n+1)^2 and the output looks like this (primes are...
Istvan Benedek
Jan 13, 20241 min read
![Bertrand's Postulate + Chat GPT = FALSE proof of [n^2...(n+1)^2] always contains a prime](https://static.wixstatic.com/media/80fd94_b54443bbf21a4ca5bf7a66bcdef0a126~mv2.png/v1/fill/w_333,h_250,fp_0.50_0.50,q_35,blur_30,enc_avif,quality_auto/80fd94_b54443bbf21a4ca5bf7a66bcdef0a126~mv2.webp)
![Bertrand's Postulate + Chat GPT = FALSE proof of [n^2...(n+1)^2] always contains a prime](https://static.wixstatic.com/media/80fd94_b54443bbf21a4ca5bf7a66bcdef0a126~mv2.png/v1/fill/w_454,h_341,fp_0.50_0.50,q_95,enc_avif,quality_auto/80fd94_b54443bbf21a4ca5bf7a66bcdef0a126~mv2.webp)
Bertrand's Postulate + Chat GPT = FALSE proof of [n^2...(n+1)^2] always contains a prime
I have been focusing on another interesting problem (https://www.ibenedek.com/post/extension-of-the-problem-of-a-b-in-n-2-n-1-2-1-then-a-...
Istvan Benedek
Jan 13, 20241 min read


Animation of Mandelbrot Fractals
import matplotlib.pyplot as plt import numpy as np import math import matplotlib.animation as animation from random import randint ...
Istvan Benedek
Dec 29, 20231 min read


Mandelbrot fractals in python
Here, you can see the visualization of a Mandelbrot fractal with exponent 4. import matplotlib.pyplot as plt import numpy as np import...
Istvan Benedek
Dec 28, 20231 min read
bottom of page