Two different answers from gpt4o - one right, one wrong.. !?

And there is one universal truth too: language model is different thing than doing math and models are notoriously bad in math without external tools.