在一個 n x n 的點陣裏最多能取出多少個點使得任意四點都不組成垂直/水平放置的長方形。

Size of maximal set of points in an n X n (side length) grid such that no 4-set of it forms a rectangle with horizontal/vertical sides.