G^T G = [[260, -3, 18], [-3, 208, 5], [18, 5, 134]]
first row of A: [1, 2, 1, 4, 2, 1, 1, 4, 1, 1, 4, 2, 2, 4, 2, 4, 3, 1, 1, 4, 1]
(2) ternary identity: per A = 870497884264612360893905837845079654400   S(A) = 873350821400784379038880704619728076800   ratio = 1.0032773625160296 [0.0s]
(1) Ryser per A = 870497884264612360893905837845079654400 [42s]
(1) Ryser S(A) = 873350821400784379038880704619728076800 [145s]
agree: True
S(A) - per A = 2852937136172018144974866774648422400 ; ratio = 39171887011509934191062102169/39043925912246496026485106177 = 1.0032773625160296
CERTIFIED: S(A) > per A : True
