OFFSET
1,3
COMMENTS
This is the same problem as A227116, except that here the triangles must have the same orientation as the grid. Here, the triangle's sides must be aligned with the sides of the grid, and the horizontal side of the triangle must be its base (assuming the grid has a horizontal base). A227116 is different in that it also includes upside-down triangles, rotated 180 degrees compared to the grid, since these have sides aligned with the grid (but different orientation).
LINKS
Ed Wynn, A comparison of encodings for cardinality constraints in a SAT solver, arXiv:1810.12975 [cs.LO], 2018.
EXAMPLE
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Ed Wynn, Sep 12 2018
STATUS
approved