euler's criterion