Why is ChatGPT so bad at math?