According to the fact that they both include the reaction change of elements through different processes, there should be a nice connection between them. In math, numbers pose as an element, and in chem - elements are physical things. Both of them can change due to reaction or a formula.