The Primes as a Sum of Waves

With all the recent math AI breakthroughs in my feed, I got reintroduced to some problems i remember reading about at university. One of which is the famous Riemann Hypothesis. I never studied it deeply, but remember hearing about the famous $\zeta(-1) = 1 + 2 + 3 + 4 … = -\frac{1}{12}$ and that the Riemann Zeta functions are somehow related to the primes. Fast forward to today and I saw a simulation of the Riemann zeta zeros adding up to the prime counting function in the video What Does the Riemann Hypothesis ACTUALLY Mean?...

October 22, 2026 · 4 min · Erik Norlander

Portfolio Optimization with JAX

In this post I’m going to give an introduction to practical portfolio optimization. The scope for this post is focused around weighting a portfolio according to some metric. There are many strategies an investor can choose to take for this problem. The S&P 500 and other index funds are typically weighted according to company size or revenue. The approach we will take in this post is to try and weigh the assets optimally....

January 21, 2025 · 10 min · Erik Norlander