Algorithms and formulas