How to point out a typo in an equation in an article?
Yes, you can email both the authors and the editor of the journal. A correction might be issued. But it is worth a bit of effort.
Of course, if it is obvious in the paper then it may be that it has been noticed by many and they have responded, or just ignored the error as obvious and moved on.
But it you have some evidence that the error has affected the results of newer papers then it might be especially important to reach out.