Teach a cat mathematics