You keep saying LLMs can’t do this but I get the correct result each time without drama.
Cursor uses Grok so far as I can tell, which is.. not great and I hope you did not try ChatGPT free or 5.6 or Luna.. you cannot unfortunately just say “Claude” or “ChatGPT”. Their lineup is sufficiently complex - each with their own failure modes - to warrant some further specification.
I think you are “directionally” correct, as these clankers like to say, because language models are indeed not known for their arithmetic wizardry. However, as my correct answers show, they can do it just fine.
Size, unfortunately, matters.
Free version of Gemini also gets it right