#!/usr/bin/env python3 """Independent profile checks for 93_10, using Gauss sums and moment-normalized shifts. Input is the paper's actual profile table, not the earlier verification certificate. Use: python profile93.py main.tex. Arithmetic is exact. """ import sys,re,itertools,json,random from pathlib import Path from collections import Counter def val(x,p,k): if x==0: return k e=0 while x%p==0 and e