



'''simple docstring'''





import math
def    _SCREAMING_SNAKE_CASE  (       UpperCamelCase = 100			):



    """simple docstring"""





    lowerCAmelCase__ :  Optional[int]							      =					sum(i * i for i in range(1							,    n + 1			)			)
    lowerCAmelCase__ :  Optional[int]							      =					int(math.pow(sum(range(1							,    n + 1			)			)							,    2			)			)
    return square_of_sum - sum_of_squares


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







'''simple docstring'''





from maths.prime_factors import prime_factors
def    _SCREAMING_SNAKE_CASE  (       UpperCamelCase			):



    """simple docstring"""





    if not isinstance(UpperCamelCase							,    UpperCamelCase			):
        lowerCAmelCase__ :  int							      =					f"""Input value of [number={number}] must be an integer"""
        raise TypeError(UpperCamelCase			)
    if number < 1:
        raise ValueError("""Input must be a positive integer"""			)
    return -1 if len(prime_factors(UpperCamelCase			)			) % 2 else 1


if __name__ == "__main__":
 import doctest

 doctest.testmod()


