Mathematical cat