MathDB
"Nice" Rhombuses In A Grid

Source: Greek MO 2016,Problem 4

March 3, 2016
countingcombinatorics

Problem Statement

A square ABCDABCD is divided into n2n^2 equal small (fundamental) squares by drawing lines parallel to its sides.The vertices of the fundamental squares are called vertices of the grid.A rhombus is called nice when: \bullet It is not a square \bullet Its vertices are points of the grid \bullet Its diagonals are parallel to the sides of the square ABCDABCD
Find (as a function of nn) the number of the nice rhombuses (nn is a positive integer greater than 22).