Interestingly enough much simpler models can write an accurate function to give you the answer.
I think it will be a while before we get there. An LLM can lookup knowledge but can't actually perform calculations itself, without some external processor.