We humans are good at pattern recognition but we suck at mental arithmetic involving multiple steps. We are slow and error prone. Yes memorizing sucks, all schoolkids hate it, but once you have mastered it you have gained a great new skill. Instead of having to waste mental energy on calculations you just remember them and can spend your precious mental resources on higher level calculations.