I am not a Mathematician - am just a software developer though I did some "Math" back in the day as part of my undergrad studies millions of years ago.
Recently I had to revisit Fourier analysis of signals for an application I am working on, and it struck me that if you squinted at it just right, it had some similarity to the representations of numbers in an integer base as given here (with the trigonometric or complex exponential functions being replaced by powers of the base integer, e.g., $123 = 1 \times 10^2 + 2 \times 10^1 + 3 \times 10^0$). I understand that the powers of integers are not orthogonal to each other, but otherwise, I was wondering if there is any overarching "theory" that includes these two as special cases? Does, for e.g., Harmonic analysis cover representation of integers by powers of integer bases?
Edit: the same I suppose could be said for the Taylor series expansion of functions as well, with the harmonic exponential or trigonometric functions being replaced by powers of variables.