



def  UpperCAmelCase__    (    lowercase__ = 100   ) ->      int:
      __lowercase					=				n * (n + 1) * (2 * n + 1) / 6
      __lowercase					=				(n * (n + 1) / 2) ** 2
      return int(square_of_sum - sum_of_squares   )


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










def  UpperCAmelCase__    (    lowercase__						,       lowercase__						,       lowercase__   ) ->      float:
						__lowercase					=				(num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
						# formula for sum of series
						return total






def  UpperCAmelCase__    (    ) ->      List[str]:
						print(sum_of_series(1						,       1						,       10   )   )


if __name__ == "__main__":
			import doctest

			doctest.testmod()





