Chapter 02 of 22 Part I: Digital Foundations

The Secret Mathematics of Everyday Numbers

Open Standalone Full-Screen Lab ↗ Download Lab HTML

Before You Experiment: Hypothesis

Swap two adjacent digits in Activity A (such as 0 and 9 in Luhn) and check whether Luhn catches every swap or has a known edge case.

Lab Sections & Troubleshooting

Activities: A. Luhn number detective · B. Weighted-sum checker · C. Invent a lab label · Code workshop

Enter digits only without spaces if testing custom numbers; the lab strips formatting automatically where supported.