Statistics for Fermat's last theorem