






"""simple docstring"""







def _a			(		_snake_case							):







						"""simple docstring"""






						assert isinstance(_UpperCAmelCase				,	_UpperCAmelCase							), F'''The input value of [n={number}] is not an integer'''

						if number == 1:
												return 2
						elif number < 1:
												UpperCAmelCase          =	F'''The input value of [n={number}] has to be > 0'''
												raise ValueError(_UpperCAmelCase							)
						else:
												UpperCAmelCase          =	sylvester(number - 1							)
												UpperCAmelCase          =	num - 1
												UpperCAmelCase          =	num
												return lower * upper + 1


if __name__ == "__main__":
		print(F"""The 8th number in Sylvester\'s sequence: {sylvester(8)}""")











"""simple docstring"""







def _a			(		_snake_case = 6008_5147_5143							):







      """simple docstring"""






      try:
            UpperCAmelCase          =	int(_snake_case							)
      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."""							)
      UpperCAmelCase          =	1
      UpperCAmelCase          =	2
      while i * i <= n:
            while n % i == 0:
                  UpperCAmelCase          =	i
                  n //= i
            i += 1
      if n > 1:
            UpperCAmelCase          =	n
      return int(_snake_case							)


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



