Magic or Mathematics?
A · Mind reader · B · Card detective · C · Message from Mars
Every chapter includes a self-contained browser laboratory with live parameters, visual feedback, and reset controls. Labs 11 and 13 use real Web Crypto APIs and require HTTPS or localhost.
A · Mind reader · B · Card detective · C · Message from Mars
A. Luhn number detective · B. Weighted-sum checker · C. Invent a lab label
A · Build a barcode · B · Become the scanner · C · Run a pretend supermarket
1 / Create a real QR symbol · Data and correction codewords · 2 / Damage and repair
Lab 1 — Repair a bit · Lab 2 — Rebuild a drive · Lab 3 — Send a message to Earth
Lab A. Build a miniature mobile operator · Lab B. Challenge-response experiment · Lab C. Move the phone
1. Measure a distance · 2. Explore an imaginary grid · 3. Inspect fictional evidence
1. Mini DNS · 2. Route around broken links · 3. Message delivery
Lab A: A shop remembers a ticket · Lab B: Compare fictional clues · Lab C: Share only what is needed
A. Turn a clock into a ruler · B. Find the mystery point · C. Fix an imperfect clock
A. The secret alphabet · B. The pattern detective · C. Agree on a secret
A. Can you see the difference? · B. Read the science-fair clue · C. Sign your own picture
A. One letter, a storm of changes · B. Issue and verify a fictional certificate · C. A time-based code
A. Stop the spread · B. Detect a fictional marker · C. Review a fictional incident
A. The miniature issuing bank · B. One purchase, one record · C. The review desk
01 | Run-length encoding · 02 | Huffman coding · 03 | Quantization
1. Look inside a mixed sound · 2. Find the mystery tune · 3. Fight noise with an opposite wave
1. Find a record fast · 2. Search a tiny index · 3. Rank a network
1. Find the edges · 2. Read a tiny digit · 3. Review matching errors
1. Teach a tiny model · 2. Predict the next word · 3. Ask a study assistant
1. Model two coils · 2. Count the message bytes · 3. Design a cautious tap interface
1. Read a fictional location report · 2. Build a fictional finding network · 3. Choose a safe response