


def 							_lowercase    (		SCREAMING_SNAKE_CASE_   :		int	):





			"""simple docstring"""




			assert isinstance(SCREAMING_SNAKE_CASE_       ,  SCREAMING_SNAKE_CASE_	), 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(SCREAMING_SNAKE_CASE_	)
			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)}''')








import math






def 							_lowercase    (		SCREAMING_SNAKE_CASE_   :		int = 100	):





			"""simple docstring"""




			UpperCamelCase         =					sum(i * i for i in range(1       ,  n + 1	)	)
			UpperCamelCase         =					int(math.pow(sum(range(1       ,  n + 1	)	)       ,  2	)	)
			return square_of_sum - sum_of_squares


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




