This above example isn't a fluke. It's a special case of a frequent, reproducible behaviour. If you ask ChatGPT a mathematics question and it struggles to reach the specified target outcome, then it often resorts to cheating by inserting steps it knows are wrong.