Number of squares and rectangles in the interior of the square with vertices (n,0), (0,n), (-n,0) and (0,-n) in a square (x,y)-grid.

A330805

Number of squares and rectangles in the interior of the square with vertices (n,0), (0,n), (-n,0) and (0,-n) in a square (x,y)-grid.

Terms

    a(0) =0a(1) =9a(2) =51a(3) =166a(4) =410a(5) =855a(6) =1589a(7) =2716a(8) =4356a(9) =6645a(10) =9735a(11) =13794a(12) =19006a(13) =25571a(14) =33705a(15) =43640a(16) =55624a(17) =69921a(18) =86811a(19) =106590a(20) =129570a(21) =156079a(22) =186461a(23) =221076a(24) =260300a(25) =304525a(26) =354159a(27) =409626a(28) =471366a(29) =539835

External references