Math
Shrink a message without losing a letter.
Your phone squeezes photos and messages so they send faster. The trick: don't store every piece, store the pattern.
In this lesson
Count runs of the same colour.
Your notebook page
- Run-length: store count + colour.
- Size = 2 × runs
- Repetitive data shrinks.
- Random data can't.
Where you'll see it today
Photos, ZIP files, streaming video and every message you send.
The course
Codes and secrets
Every lesson adds a part. Finish them all to build the Cipher wheel.
- 1Reading barcodesWhat a barcode actually says.
- 2Catching typosHow a card number knows it's wrong.
- 3Saying more with lessShrink a message without losing a letter.
- 4Shift ciphersCrack a 2,000-year-old secret.
- 5Clock mathWhat day is it 1,000 days from now?
- 6Strong passwordsHow long to guess your password?
- 7Codes that fix themselvesScratch a QR code. Still scans?
- 8Build a cipher wheelSend a message only a friend can read.
