Are you thinking of the short story "The Feeling of Power" by Isaac Asimov.
(A technician discovers how to do simple arithmetical calculations in a world where no remembers arithmetic since its all automated away.)
More information regarding the short story on its Wikipedia page: https://en.wikipedia.org/wiki/The_Feeling_of_Power
The short story itself can be found online.