Construct Product Matrix
Each cell of the product matrix holds the product of every other cell, taken modulo 12345, using running prefix and suffix products.
Each cell of the product matrix holds the product of every other cell, taken modulo 12345, using running prefix and suffix products.