With both cases the agent doing something is human. And human beings are indeed conscious. Outside human needs LLM are useless.

Math, as a tool, is just a proxy for people using LLMs, as well as GPUs spending cycles on calculating the math