Everyday Learning العربية
MathCodes and secrets · Lesson 3 of 8 · 7 min

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.

  1. 1Reading barcodesWhat a barcode actually says.
  2. 2Catching typosHow a card number knows it's wrong.
  3. 3Saying more with lessShrink a message without losing a letter.
  4. 4Shift ciphersCrack a 2,000-year-old secret.
  5. 5Clock mathWhat day is it 1,000 days from now?
  6. 6Strong passwordsHow long to guess your password?
  7. 7Codes that fix themselvesScratch a QR code. Still scans?
  8. 8Build a cipher wheelSend a message only a friend can read.
Open in the app Download on the App Store