If so you may well have been using a spiritual ability called abstract intuition.
Abstract intuition is a form of intuitive ability that allows you to know the answer without going through all the steps, such as in a complex formula in a mathematical problem. This ability can be a big issue for gifted kids in school as the teacher invariably wants an explanation of how they arrived at the answer. They may even be accused of having cheated!
The intellect and the logical brain are revered in our society as the one of the highest levels of achievement. However, whilst the intellect is the highest vibration in the physical body it is a much lower vibration than the spiritual abilities we have access to. The information for abstract information is contained in the sixth chakra located in the center of the brow.
Similarly, language is one of the lowest forms of communication compared to our faculties. Symbols and mathematical equations are a much higher form of communication and we actually do not require the intellect to understand them.