Yes! Music works too. I know an elderly lady who was worried about oncoming Alzheimer's. Although she had never learned to read music or play an instrument she decided to learn how to play piano. She's very good at it and mentally fit again. Learning is good therapy!
I don’t know what the connection is, but music and mathematics are quite similar.