Daily tweets about computer science and related stuff @JohnDCook.
Four operations on multisets -- union, intersection, inclusion, sum -- from four perspectives -- words, Python code, prime factors, and functions.
Using Claude Pro to generate a LEAN proof of a calculus calculation, namely the sine series coefficients for the solution to Kepler's equation.
Gray codes are a way of encoding integers so that the encodings of consecutive integers differ in exactly one bit.
Equations and Python code for going back and forth between quaternion and matrix representations of rotations.
The Playfair cipher, invented by Wheatstone, was the first encryption method to encrypt text two letters at a time. Symmetry makes it easy to use and to break.