Investigating the interaction of linguistic and mathematical reasoning in language models using multilingual number puzzles