arithmetic_equations initial version