This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A287245 #23 Apr 10 2020 01:44:26 %S A287245 1,1,1,11340,2270280240,27055587870486000,21628439666761521875561280, %T A287245 920451958269648700957746787694592000, %U A287245 1914192808178753950843058828570207003149548000000,216425158352284448578663515683744576588775769063470820304640000 %N A287245 Number of inequivalent n X n matrices over GF(7) under action of dihedral group of the square D_4, with one-seventh each of 1's, 2's, 3's, 4's, 5's, 6's and 7's (ordered occurrences rounded up/down if n^2 != 0 mod 7). %C A287245 Computed using Polya's enumeration theorem for coloring. %H A287245 María Merino, <a href="/A287245/b287245.txt">Table of n, a(n) for n = 0..33</a> %H A287245 M. Merino and I. Unanue, <a href="https://doi.org/10.1387/ekaia.17851">Counting squared grid patterns with Pólya Theory</a>, EKAIA, 34 (2018), 289-316 (in Basque). %F A287245 G.f.: g(x1,x2,x3,x4,x5,x6,x7)=1/8*(y1^(n^2)+2*y1^n*y2^((n^2-n)/2)+3*y2^(n^2/2)+2*y4^(n^2/4)) if n even and 1/8*(y1^(n^2)+4*y1^n*y2^((n^2-n)/2)+y1*y2^((n^2-1)/2)+2*y1*y4^((n^2-1)/4)) if n odd, where coefficient correspond to y1=Sum_{i=1..7} x_i, y2=Sum_{i=1..7} x_i^2, y4=Sum_{i=1..7} x_i^4 and occurrences of numbers are ceiling(n^2/7) for the first k numbers and floor(n^2/7) for the last (7-k) numbers, if n^2 = k mod 7. %e A287245 For n = 3 the a(3) = 11340 solutions are colorings of 3 X 3 matrices in 7 colors inequivalent under the action of D_4 with exactly occurrences 2, 2, 1, 1, 1, 1, 1 of each color (coefficient of x1^2 x2^2 x3^1 x4^1 x5^1 x6^1 x7^1). %Y A287245 Cf. A286393, A082963, A286447, A286525, A286526, A287239. %K A287245 nonn %O A287245 0,4 %A A287245 _María Merino_, Imanol Unanue, May 22 2017