which, in principle, encodes information on the driving history. Here we realize irreversible
metamaterials that count mechanical driving cycles and store the result into easily
interpretable internal states. We extend these designs to aperiodic metamaterials that are
sensitive to the order of different driving magnitudes, and realize “lock and key”
metamaterials that only reach a specific state for a given target driving sequence. Our …