Fermat test supported