Yes, I think formulaformula should be made a synonym of mathematicsmathematics.
The rationale behind it is that if you ask for a formula, you're facing the XY problem.
A formula implies a "single of code", which is IMHO very generic. An algorithm or some mathematics is generally what one should ask about. Good if the answers suggest a single-line formula.