The goal of Math Pyramid is to fill the given pyramid with numbers such that the following three rules are satisfied.
1. A cell value must be sum or difference of the two cells below
2. A row cannot have duplicate numbers
3. A number cannot be less than 1 or more than the grid size