Episode Details
Back to EpisodesPerfect Number Day and the Road to Schnorr
Description
We celebrated June 28 as “Perfect Number Day” and finally told one of my favorite origin stories behind this whole project: a late-night drive home from a Phish show with Kayla, where a quick conversation about why 6 and 28 are perfect numbers turned into a full-blown family math obsession. We revisited how that curiosity led us to trial-and-error the next perfect number, fire up a Raspberry Pi, write Python code, hit the limits of the machine, and eventually discover just how deep number theory goes—from the Pythagoreans to Euclid, Mersenne primes, and the still-open questions around perfect numbers.
From there, we closed out our elliptic curve study guide by turning to Schnorr signatures, Taproot, MuSig, FROST, libsecp256k1, and the practical realities of Bitcoin development. We talked through why Schnorr is cleaner than ECDSA, how signature aggregation improves privacy and scalability, why wrench-attack resistance matters, and why the ecosystem around libsecp256k1 deserves far more attention. We also reflected on the tiny, careful pace of high-stakes Bitcoin cryptography work, the importance of maintainers like Jonas Nick, Pieter Wuille, Tim Ruffing, and Andrew Poelstra, and why understanding these mathematical foundations is the whole point of Magic Internet Math.
- Magic Internet Math: https://magicinternetmath.com/
- Magic Internet Math Podcast: https://podcasts.apple.com/us/podcast/magic-internet-math/id1868224151
- Phish Tour Archives: https://phish.com/tour-archives/
- BIP 340 — Schnorr Signatures for secp256k1: https://bips.dev/340/
- BIP 341 — Taproot: SegWit version 1 spending rules: https://bips.dev/341/
- BIP 342 — Validation of Taproot Scripts: https://bips.dev/342/
- BIP 327 — MuSig2 for BIP340-compatible Multi-Signatures: https://bips.dev/327/
- RFC 6979 — Deterministic Usage of DSA and ECDSA: https://www.rfc-editor.org/info/rfc6979/
- RFC 9591 — FROST Threshold Schnorr Signatures: https://www.rfc-editor.org/info/rfc9591/
- libsecp256k1: https://github.com/bitcoin-core/secp256k1
- rust-bitcoin: https://rust-bitcoin.org/
- AnchorWatch: https://www.anchorwatch.com/
- Blockstream: https://blockstream.com/
- Blockstream Research: https://research.blockstream.com/
- Jonas Nick: https://blog.blockstream.com/author/jonas/
- Andrew Poelstra and the Blockstream Research team: https://blog.blockstream.com/blockstream-research-the-focus/
- Pieter Wuille (sipa): https://github.com/sipa
- Daniel Shanks — Solved and Unsolved Problems in Number Theory: https://bookstore.ams.org/chel-297/
- SHAttered (the SHA-1 collision project): https://shattered.io/sha1-collision/