

def 			__snake_case	(   __UpperCamelCase  :   int = 20						):



      """simple docstring"""

      try:
            A_	     =							int(__UpperCamelCase						)
      except (TypeError, ValueError):
            raise TypeError("Parameter n must be int or castable to int."						)
      if n <= 0:
            raise ValueError("Parameter n must be greater than or equal to one."						)
      A_	     =							0
      while 1:
            i += n * (n - 1)
            A_	     =							0
            for j in range(2							,__UpperCamelCase						):
                  if i % j != 0:
                        A_	     =							1
                        break
            if nfound == 0:
                  if i == 0:
                        A_	     =							1
                  return i
      return None


if __name__ == "__main__":
      print(F"{solution() = }")


import pytest

from datasets.utils.version import Version

@pytest.mark.parametrize(
    "other, expected_equality"							,[
        (Version("1.0.0"						), True),
        ("1.0.0", True),
        (Version("2.0.0"						), False),
        ("2.0.0", False),
        ("1", False),
        ("a", False),
        (1, False),
        (None, False),
    ]							,)
def 			__snake_case	(   __UpperCamelCase  :   Any							,__UpperCamelCase  :   List[Any]						):



      """simple docstring"""

      A_	     =							Version("1.0.0"						)
      assert (version == other) is expected_equality
      assert (version != other) is not expected_equality
      assert (hash(__UpperCamelCase						) == hash(__UpperCamelCase						)) is expected_equality