Fill the cells with numbers from 1 to <i>n</i>, where <i>n</i> is the size of the grid, such that each row and column contains each number exactly once. If an edge between cells is marked with a white dot, the difference of the two adjacent numbers is 1. If it is marked with a black dot, one number is double the other number. If there is no mark, neither of these conditions apply.