
from typing import TYPE_CHECKING

from ....utils import _LazyModule


_lowerCamelCase					   ={"""tokenization_tapex""": ["""TapexTokenizer"""]}


if TYPE_CHECKING:
      from .tokenization_tapex import TapexTokenizer


else:
      import sys

      _lowerCamelCase					   =_LazyModule(__name__, globals()["""__file__"""], _import_structure)






def     _a					(						lowerCamelCase							):

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

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


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




