Multiplicative Function and Smallest Prime Factor
When solving Project Euler problems, we often need to compute values such as the number or sum of divisors for every positive integer up to N. Since these fu...
When solving Project Euler problems, we often need to compute values such as the number or sum of divisors for every positive integer up to N. Since these fu...
Even without formally studying AI, anyone who follows materials on image generation or language models has probably encountered the term diffusion model. Tho...
I recently found a LeetCode-like site called LeetGPU. It lets you solve GPU problems using CUDA, PyTorch, and JAX. I had studied CUDA before but forgot mos...
Project Euler presents many problems in number theory and combinatorics. This post documents Kummer’s theorem, which I studied while solving these problems. ...
Season 1, Episode 3 of Numb3rs features an investigation into the source of an unexplained outbreak. After the FBI confirms that the disease is a lab-engine...
When I think back to the TV shows I loved most growing up, Numb3rs stands at the top. It follows FBI agent Don Eppes and his genius mathematician brother, Ch...
Queueing theory is a branch of probability theory that studies the behavior of systems where entities (customers, jobs, etc.) arrive and wait in a queue to b...
I have been studying queueing theory. In many basic models, each entity’s service time (death/lifetime) is modeled as an exponential random variable with rat...
In this post, I’ll cover how to change the SSH port on SELinux. Normally, SSH configuration can be done with the following commands: sudo vim /etc/ssh/sshd_c...
Originally, I ran servers using rootless Docker. The reason for not using rootful was primarily security. Rootful Docker can bypass iptables at will and acce...