



"""simple docstring"""







def     UpperCamelCase_   (   lowerCAmelCase__				:    int						)						->       bool:

  """simple docstring"""




  if p < 2:
    raise ValueError('p should not be less than 2!'						)
  elif p == 2:
    return True

  lowerCAmelCase_       :    Dict								=			4
  lowerCAmelCase_       :    str								=			(1 << p) - 1
  for _ in range(p - 2						):
    lowerCAmelCase_       :    Optional[Any]								=			((s * s) - 2) % m
  return s == 0


if __name__ == "__main__":
     print(lucas_lehmer_test(7))
     print(lucas_lehmer_test(1_1))










"""simple docstring"""







from diffusers.utils.testing_utils import require_onnxruntime







@require_onnxruntime
class 				UpperCamelCase__       :




      """simple docstring"""




      pass





