Knuth-Yao Optimization in DP. More or less an excuse to try out Typst.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Existence of n-th root.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Select exercises on sequences and series.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Finding a correspondence between mathematical objects and algebraic expressions.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Counting number of ways to color some objects under the action of a group.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Enigma Machines and how the internal wiring of their rotors was reverse-engineered is the topic of this note.
I pieced this together from several sources, so it is a little convoluted but it mainly follows chapter 3.8 from the book Abstract Algebra by Lawrence and Zorzitto, albeit in a perhaps simplified, less rigorous way.
Rejewski and his team of code breakers did a lot more than what is described in this note. For example, they designed and prototyped electro-mechanical computers to take over some of the tedious manual labor that was still needed to sift through possible permutations. Later, at Bletchley Park, Alan Turing and his team scaled up those prototypes and made the Bombe.
A prison has $n$ cells with all cell doors shut initially.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
How many trailing zeros are in $n!$.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Points on circle.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Exercise ‘Fibolucci’ from ‘Kaldewaij. Programming, The Derivation of Algorithms . Prentice Hall, 1990’.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Counting inversions is the topic of the problem in this note.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Integer equations and multisets are the topics of the problem.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Recurrence relations and modulo arithmetic are the topics of the problem in this note.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Four people begin on the same side of a bridge. You must send them across to the other side in the fastest time possible. It is night. There is one flashlight. A maximum of two people can cross at a time. Any party who crosses, either one or two people, must have the flashlight to see.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
The Dutch National Flag Problem from ‘Kaldewaij. Programming, The Derivation of Algorithms . Prentice Hall, 1990’.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Fast Fourier Transform and using it to speed up polynomial multiplication is the topic of the two problems in this note taken from Algorithms — Extended Dance Remix: Fast Fourier Transforms.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Loop invariants is the topic of the problem in this note.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Cool proof of the Schröder-Bernstein Theorem.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
Maximum subsequence problem.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.
A line of $n$ airline passengers is waiting to board a plane.
open full screen ↗ Your browser can't display this PDF inline. Open it directly.