In the first place, omnipotence does not mean that God can do anything, but it means that He can do with power anything that power can do. This is a question which is frequently asked by skeptics and by children. We reply by asking how much power it would take to bring about this result. The absurdity of the question is not too difficult to see. When these questions are asked it is readily seen that the truth of the multiplication tables is not in the realm of power.
Power has nothing to do with it.
When we assert that God is omnipotent, we are talking about power. The answer is no, but it does not show that God does not have infinite power or that God cannot do with power anything that power can do. Power cannot bring into being a contradictory state of affairs. Some understanding of the Infinity of God would be helpful at this point. The infinity of God is that perfection of God by which He is free from all limitations.