An elastic metamaterial can do math by directing motion through tiny pathways, showing how materials might one day handle simple computing tasks without electronics.