




'''simple docstring'''

def 						__magic_name__       (      __UpperCAmelCase      )						->   Dict:

					'''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:
										snake_case_		     =							F"The input value of [n={number}] has to be > 0"
										raise ValueError(__UpperCAmelCase      )
					else:
										snake_case_		     =							sylvester(number - 1      )
										snake_case_		     =							num - 1
										snake_case_		     =							num
										return lower * upper + 1


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


import unittest

from accelerate import debug_launcher
from accelerate.test_utils import require_cpu, test_ops, test_script




@require_cpu
class   _UpperCamelCase (		unittest.TestCase					):


			"""simple docstring"""






			def 			_SCREAMING_SNAKE_CASE     (  self		)	->   int:

							'''simple docstring'''


							debug_launcher(test_script.main		)





			def 			_SCREAMING_SNAKE_CASE     (  self		)	->   Union[str, Any]:

							'''simple docstring'''


							debug_launcher(test_ops.main		)