Details
Patterns are given as generators for ResourceFunction["PeriodicPatternGenerator"][n,{x,y},disp:0,b:2]: Create a periodic square array with side length of x×y based on an x×y rectangle filled with the digits of integer n in base 2 (or b), where the rectangle is repeated on subsequent rows with displacement disp.
Periodic patterns can be equivalent by toroidal displacement. For example, an 8×8 checkerboard pattern with a black square in the lower right corner is equivalent to an 8×8 checkerboard pattern with a white square in the lower right corner after a toroidal displacement of {a,b} for any odd a+b.
Periodic patterns similar by rotations, reflections, color reversals and skew displacement are considered distinct in these datasets.
For the counts below, an n-ary pattern is assumed to have n colors. An exception is made for binary, where order 1 has both all 0 and all 1 tilings.
Up to order 16, there are 2, 3, 8, 20, 36, 112, 144, 452, 740, 1824, 2232, 9848, 8820, 28302, 54015, 129064 distinct binary patterns.
Up to order 10, there are 0, 0, 8, 65, 180, 1123, 2064, 11391, 27187, 104774 distinct ternary patterns.