See A054252(n, k) for the number of n X n square grids with squares from two colors modulo operations of the dihedral group D_4 with k colors of one sort.
One half of the row sums of A054252, starting with n=1. For the row sums starting with n=0 see A054247.