Skip to the activities
MathCase

Math activities

Pick a question to try.

Change a number or color a line and check what happens in your browser.

Collatz · Number sequencesWill a number fall below where it started?

Start with 239

Halve an even number. Triple an odd number and add 1. Follow one start until it drops below where it began or reaches the step limit.

239 → 718 → 359 → 1078 → 539

Change the step limit or choose a number pattern

The starting number is the whole number above.

Ready to check your starting number.

This check follows one starting number. When does a proof guarantee a drop?

Explore two-window Collatz first-drop bounds: choose odd-input caps and inspect the verified class counts and witnesses ↗

Ramsey · GraphsCan six dots avoid a one-color triangle?

Color the six-dot graph

Color every line red or blue. Tap an uncolored line to make it red, then tap to switch colors. You can also edit lines by number.

Color the 15 lines or load a sample to begin.

Edit lines by number
Why is a triangle unavoidable?

Pick any dot. At least three of its five lines share a color. Suppose that color is red.

Look at the three dots on the other ends of those red lines. If any two are joined by red, they make a red triangle with your first dot. Otherwise all three lines between them are blue, so those three dots make a blue triangle.

The same argument works with the colors reversed.

The checker looks for one triangle among the 20 triples of dots in your coloring. Ramsey’s theorem guarantees a one-color triangle in every red–blue coloring of six dots.

Erdős–Straus · FractionsCan three unit fractions add up to 4/21?

Try three denominators

A unit fraction has 1 on top. Choose three different bottom numbers and see whether the sum is exactly 4/21.

Example: 4/21 = 1/7 + 1/22 + 1/462.

Why the exact check works

4xyz = 21(xy + xz + yz)

For positive increasing denominators x, y, z, this integer equality is exactly equivalent to 4/21 = 1/x + 1/y + 1/z.

This checks one sum. See a formula for a whole family of denominators.

Erdős–Straus · Further explorationCan you find a sum for another denominator?

Choose a finite search range

For n = 12d+1, MathCase searches your finite denominator bounds for positive, strictly increasing x, y, z that satisfy the exact equation.

4/n = 1/x + 1/y + 1/z

Ready. The search is bounded and stays in this browser.

What a witness means: the displayed tuple satisfies the exact integer identity for this one n. A bounded miss means only that no witness appeared within the searched bounds; it is not a counterexample to the conjecture.

What does saving a result do?

You can download the inputs and result as a file or save a copy in this browser. The file includes a fingerprint so you can check whether the result changed. These calculations use exact arithmetic. For a mathematical proof, open the Lean workbench.