Instructions and examples are further down the page.







   


 

The input should contain lines of "Total = Equation" (no quote marks) for all of the equations to check.  Each equation must be totally on a single line no matter how long it is even if it wraps around in the form.  They will be checked against the year at the top of the form.

Square roots need parenthesis:  sqrt(20).

Exponents need parenthesis around both the base and exponent:  20^17 should be (20)^(17).

This program can not handle factorials above 170 and needs parenthesis around the base:  20! should be (20)! or Fact(20).

Example input for 2017:
  0 = 2 * 0 * 1 * 7
  1 = 2 * 0 + (1) ^ (7)
  2 = 2 + 0 * 1 * 7
  3 = 20 - 17
  4 = 2 + (0)! + (1) ^ (7)
  5 = int(sqrt(2 * (0 + 17)))
  6 = [sqrt(2 * (Fact(0) + 17))]
  7 = 2 * 0 * 1 + 7
  8 = 2 * 0 + 1 + 7
  9 = 2 + 0 * 1 + 7