Filter Tags:

September 9, 2026•10 minute read

Almost Factoring RSA-260

number-theory

No AI was used in writing this post, or in writing any computational code involved in this project. All typography and mistakes are my own.

I recently heard about Eric Lu’s announcement that RSA-260 had been factored. Congratulations to Eric!

This is a bit of a non-post, minimally edited stream-of-conciousness. If that bothers you, no need to read it. I just wanted to write the following down somewhere.

This exact factorization is a project I had been working on, on-and-off, since mid-2023. Since November 2025, I had begun putting in serious effort. I don’t have institutional resources, so all work was self-funded, chugging away slowly. I was about one month away from finishing relation collection when I got wind of Eric’s work.

February 27, 2026•5 minute read

BB-smooth integers with constrained factors

number-theory

As part of a project, I needed to compute the probability of a large integer being BB-smooth, conditional on knowledge about the sizes of its prime factors. I found very little information about this problem in the literature.

This post (1) solves this problem with high accuracy, and (2) verifies the theoretical results experimentally.

March 2, 2023•4 minute read

Notes on the Adelic Zeta Function

analysis

May 5, 2021•4 minute read

Asymptotic Expansion of the Error Function

analysis

This post documents the implementation of the error function erf(z)\mathrm{erf}(z) used in my complex function plotter. For small zz, I use the asympotic series by Abramowitz & Stegun. For large zz, I use a custom expansion around the 45° line.

November 19, 2020•4 minute read

A Cone Eversion

differential-geometry
visualization

I recently found a paper titled ‘A Cone Eversion,’ by S. Tabachnikov. I found it a bit difficult to see what was happening in 3D, so I made a visualization. Enjoy!

October 28, 2020•2 minute read

A Nice Solution of Putnam 1981 B5

putnam

Here’s a nice solution of Putnam 1981 B5 that I haven’t seen anywhere else (so far). The main idea is to sum `bitwise,' rather than `termwise.'

Let SkS_k denote the set of positive integers with the kthk^{\text{th}} bit set, counting from the right starting at k=0k=0. Then we have

∑n=1∞B(n)n2+n=∑k=0∞∑n∈Sk1n2+n.\sum_{n=1}^\infty \frac{B(n)}{n^2 + n} = \sum_{k=0}^\infty \sum_{n \in S_k} \frac{1}{n^2 + n}.

August 20, 2020•3 minute read

Primes pp with tan⁡p>p\tan{p} > p

number-theory

Inspired by Matt Parker’s recent video, I decided to search for primes pp with tan⁡p>p\tan{p} > p, the first of which is the 46-digit

p=1169809367327212570704813632106852886389036911.p = 1169809367327212570704813632106852886389036911.

p=116980936732…886389036911.p = 116980936732 \dots 886389036911.

How do you go about finding more?

Well, we want tan⁡p\tan{p} to be big — very big. From high-school trigonometry, we know that this occurs when pp is just a tiny bit less than a half-integer multiple of π\pi. In other words, we want

August 1, 2020•9 minute read

Optimal Kernel-Based Averaging

fourier-analysis
webgl
monte-carlo
optimization

July 29, 2020•2 minute read

Constant-Period Oscillation implies SHM

classical-mechanics

It’s well-known that the period of a simple harmonic oscillator (SHO) is independent of its oscillation amplitude. But is this the only oscillator for which this holds?

No. A simple counterexample is the SHO + ‘brick wall’ potential:

Right half of a quadratic potential, with a delta function at zero.Right half of a quadratic potential, with a delta function at zero.