37, the median value for the second prime factor of an integer
Chris Grossack's math blog and professional website.
The latest blog posts to take off on Hacker News. 221 posts.
Chris Grossack's math blog and professional website.
Fast Fibonacci Computations With a Linear Algebra Twist
(This is a guest post by Bhavik Mehta) On March 16, 2023, a paper by Campos, Griffiths, Morris, and Sahasrabudhe appeared on the arXiv, announcing an exponential improvement to the upper bound on R…
Use these rules to avoid boring your audience
The phrase “foundations of mathematics” is bandied about frequently these days, but it’s clear that there is widespread confusion about what it means. Some say that a proof assistant must be based on a foundation of mathematics, and therefore that the foundations of mathematics refers to some sort of formal system…
How the value of π depends on the definition of distance.
Suppose that we sample a large number N N N of independent random functions f i : R → R f_i \colon \R \to \R f i : R → R from a certain distribution F \Fc F and propose to solve a regression problem by choosing a linear combination f ˉ = ∑ i λ i f i . \bar{f} = \sum_i \lambda_i f_i. f ˉ = i ∑ λ i f i . For…
ConvNets Match Vision Transformers at Scale
Originally developed by Aristid Lindenmayer in 1968, an L-System is a formalism to generate self-similar structures. Although, L-Systems are capable of generating famous fractals like the Sierpinski Triangle (Axiom: FXF--FF--FF, F → FF , X → --FXF++FXF++FXF-- , angle = 60 ) or the Gosper Curve (Axiom: FX, X →…
Elliptic curves are standardized, instead of being generated like Diffie-Hellman parameters. There's good reasons!
Yesterday, we announced adding AI to our recon engine. Today, we're underscoring how reconciliation is a pain point by delving into the math.
No reckoning allowed save the marvelous arithmetics of distance (from Smelling the Wind by Audre Lorde) Suppose a child comes up to you and says “I know 1 is odd and 2 is even, but I think 4 is mor…
Much has been written about how to generate random 64-bit integers; people might argue over which particular (CS)PRNG is best suited for a given task, but there is agreement on the general shape of the solution: keep some state around, and then extract 64 bits of randomness at a time, where each bit is equally likely…
Have you ever found yourself in a situation where you had a bunch of parameters to tune for a better result, but there were just too many to exhaustively search all possibilities? I recently saw a …
The eigenvectors of a circulant matrix do not depend on the matrix itself, only on the size, and the eigenvectors are columns of the FFT matrix.
I’m excited to share a 3 state, 3 symbol Turing Machine that cannot be proven to halt or not (when starting on a blank tape) without solving a Collatz-like problem. Therefore, solving the \(BB(3, 3)\) problem is at least as hard as solving this Collatz-like problem, a class of problem for which Paul Erdős famously…
This is a fun challenge: The NIST elliptic curves that power much of modern cryptography were generated in the late ’90s by hashing seeds provided by the NSA. How were the seeds generated? Rumor has it that they are in turn hashes of English sentences, but the person who picked them, Dr. Jerry Solinas, passed away in…
Interpretability research decomposing a transformer layer into thousands of interpretable features that can steer model behavior.
To be precise, IEEE-754 floating point subtraction is functionally complete . That means you can construct any binary circuit using nothing but floating point subtraction.
This is lobste.rs comment as an article, so expect even more abysmal editing than usual.
Announcing a $12,288 bounty (tripled to charity) for cracking the five seeds selected by the NSA in the '90s for the NIST elliptic curve standard.
[Sidney Harris cartoon used with permission. Copyright holder: ScienceCartoonsPlus.com .]
From the highly eclectic blog of Mark Dominus
My last article had tips for for arena allocation . This next article demonstrates a technique for building bespoke hash maps that compose nicely with arena allocation. In addition, they’re fast, simple, and automatically scale to any problem that could reasonably be solved with an in-memory hash map. To avoid…
Use 3D to visualize matrix multiplication expressions, attention heads with real weights, and more. Matrix multiplications (matmuls) are the building blocks of today’s ML models. This note presents mm, a visualization...
This week we (me & Anton Kovsharov) published Paperproof, a Gentzen-tree-like proof interface for Lean 4. In this post I'll review proof visualisations from o...
Many logos, drawings and other graphical designs have the following shape in it. What is this shape? If you thought: "Ah-ha! I'm smart and r...