





def        __SCREAMING_SNAKE_CASE	(				__lowercase:		int = 20):



  '''simple docstring'''






  try:
    __lowerCAmelCase								=					int(__lowercase)
  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.''')
  __lowerCAmelCase								=					0
  while 1:
    i += n * (n - 1)
    __lowerCAmelCase								=					0
    for j in range(2  ,				__lowercase):
      if i % j != 0:
        __lowerCAmelCase								=					1
        break
    if nfound == 0:
      if i == 0:
        __lowerCAmelCase								=					1
      return i
  return None


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







def        __SCREAMING_SNAKE_CASE	(				__lowercase:		int):



  '''simple docstring'''






  if not isinstance(__lowercase  ,				__lowercase):
    __lowerCAmelCase								=					F'''Input value of [number={number}] must be an integer'''
    raise TypeError(__lowercase)
  if number < 0 or number % 2 == 1:
    return False
  __lowerCAmelCase								=					int(number**0.5)
  return number == number_sqrt * (number_sqrt + 1)


if __name__ == "__main__":
      import doctest

      doctest.testmod()
