Hey, I've always been a little like that.
Good at maths, & I learn a little differently from others, too.
I don't know if you're the same, but I generally find that while I can do the calculations on a functional level almost immediately, it takes ages for me to actually understand what I'm doing..
Luckily in maths to pass the tests it's often sufficient to just be able to solve the problems functionally.
To understand the actual principles behind what we're learning, I'd have to revise and come to my own understanding in my own time.
It may only take 5 minutes of revision at home, followed by mulling it over for 4 hours at home while I'm casually cleaning my room or doing dishes or something, followed by re-reading over it & then having a moment of profound understanding.
The good thing about this is once I understand the basic stuff, I don't tend to ever forget it.
My learning style might be a little different to most people's. I'm OK with that. I believe it's great to know what suits me best, & learn that way.
Hope that factoring turns out to be not-so-bad
_________________
.. one day
in murky water mild,
where Wednesday lay
A Thursday child ..