Skip to content

Modular invariant [mp]

Micro pattern

Description

Classify states using remainders modulo a fixed number.

Problems

Game-state invariant

Identify losing states by a repeating residue class.

Divisibility classification

Check common multiples before less specific factors.

Number-theory classification

Normalize a value and test a residue class to select a theorem case.