def 							UpperCAmelCase		(       lowercase				):







				"""simple docstring"""



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

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


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







				"""simple docstring"""



				if not isinstance(lowercase				,     lowercase				):
								raise ValueError('''Input must be an integer'''				)
				if input_num <= 0:
								raise ValueError('''Input must be positive'''				)
				return sum(
				    divisor for divisor in range(1				,     input_num // 2 + 1				) if input_num % divisor == 0				)


if __name__ == "__main__":
		import doctest

		doctest.testmod()