'''simple docstring'''

def __a (	__lowerCamelCase			:						List[str] ,		__lowerCamelCase			:						Union[str, Any] ,		__lowerCamelCase			:						Union[str, Any]				)	->							Tuple:
      '''simple docstring'''


      lowercase_     =      (num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
      # formula for sum of series
      return total


def __a (	)	->							Dict:
      '''simple docstring'''


      print(sum_of_series(1 ,		1 ,		10				)				)


if __name__ == "__main__":
       import doctest

       doctest.testmod()







'''simple docstring'''

def __a (	__lowerCamelCase			:						int = 600_851_475_143				)	->							int:
      '''simple docstring'''


      try:
            lowercase_     =      int(__lowerCamelCase				)
      except (TypeError, ValueError):
            raise TypeError("Parameter n must be int or castable to int."				)
      if n <= 0:
            raise ValueError("Parameter n must be greater than or equal to one."				)
      lowercase_     =      1
      lowercase_     =      2
      while i * i <= n:
            while n % i == 0:
                  lowercase_     =      i
                  n //= i
            i += 1
      if n > 1:
            lowercase_     =      n
      return int(__lowerCamelCase				)


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






