





"""simple docstring"""


def      UpperCamelCase							(SCREAMING_SNAKE_CASE = 100     ):
						UpperCamelCase				:		Union[str, Any]				   =			n * (n + 1) * (2 * n + 1) / 6
						UpperCamelCase				:		List[str]				   =			(n * (n + 1) / 2) ** 2
						return int(square_of_sum - sum_of_squares     )


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










"""simple docstring"""


import math

def      UpperCamelCase							(SCREAMING_SNAKE_CASE							,     SCREAMING_SNAKE_CASE     ):
						return math.pow(SCREAMING_SNAKE_CASE							,     2     ) - a

def      UpperCamelCase							(SCREAMING_SNAKE_CASE     ):
						return 2 * x

def      UpperCamelCase							(SCREAMING_SNAKE_CASE     ):
						UpperCamelCase				:		Union[str, Any]				   =			2.0

						while start <= a:
												UpperCamelCase				:		Optional[Any]				   =			math.pow(SCREAMING_SNAKE_CASE							,     2     )

						return start

def      UpperCamelCase							(SCREAMING_SNAKE_CASE							,     SCREAMING_SNAKE_CASE = 9999							,     SCREAMING_SNAKE_CASE = 0.00_00_00_00_00_00_01     ):

						if a < 0:
												raise ValueError("""math domain error"""     )

						UpperCamelCase				:		Optional[Any]				   =			get_initial_point(SCREAMING_SNAKE_CASE     )

						for _ in range(SCREAMING_SNAKE_CASE     ):
												UpperCamelCase				:		List[str]				   =			value
												UpperCamelCase				:		Tuple				   =			value - fx(SCREAMING_SNAKE_CASE							,     SCREAMING_SNAKE_CASE     ) / fx_derivative(SCREAMING_SNAKE_CASE     )
												if abs(prev_value - value     ) < tolerance:
																		return value

						return value


if __name__ == "__main__":
		from doctest import testmod

		testmod()



