'''simple docstring'''





from __future__ import annotations






def SCREAMING_SNAKE_CASE__   (							snake_case    :							int   )					->							set[int]:







     """simple docstring"""
     a :				int				=      {1}
     a :				Any				=      [1]
     for _ in range(2							,     depth + 1   ):
          a :				int				=      [*previous_coefficients, 0]
          a :				Dict				=      [0, *previous_coefficients]
          a :				Any				=      []
          for x, y in zip(lowerCAmelCase_							,     lowerCAmelCase_   ):
               coefficients.add(x + y   )
               previous_coefficients.append(x + y   )
     return coefficients






def SCREAMING_SNAKE_CASE__   (							snake_case    :							set[int]   )					->							set[int]:







     """simple docstring"""
     a :				Union[str, Any]				=      set()
     for number in unique_coefficients:
          a :				Any				=      2
          a :				List[str]				=      number
          while divisor**2 <= copy_number:
               a :				List[Any]				=      0
               while copy_number % divisor == 0:
                    copy_number //= divisor
                    multiplicity += 1
               if multiplicity >= 2:
                    non_squarefrees.add(lowerCAmelCase_   )
                    break
               divisor += 1

     return unique_coefficients.difference(lowerCAmelCase_   )






def SCREAMING_SNAKE_CASE__   (							snake_case    :							int = 51   )					->							int:







     """simple docstring"""
     a :				Tuple				=      get_pascal_triangle_unique_coefficients(lowerCAmelCase_   )
     a :				Optional[int]				=      get_squarefrees(lowerCAmelCase_   )
     return sum(lowerCAmelCase_   )


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






def        __a     (    lowerCAmelCase_   :					list				)      -> bool:






						'''simple docstring'''



						if not isinstance(lowerCAmelCase_			,lowerCAmelCase_				):
												raise ValueError("""Input series is not valid, valid series - [1, 2/3, 2]"""				)
						if len(lowerCAmelCase_				) == 0:
												raise ValueError("""Input list must be a non empty list"""				)
						if len(lowerCAmelCase_				) == 1 and series[0] != 0:
												return True
						UpperCAmelCase_=   []
						UpperCAmelCase_=   len(lowerCAmelCase_				)
						for i in range(0			,lowerCAmelCase_				):
												if series[i] == 0:
																		raise ValueError("""Input series cannot have 0 as an element"""				)
												rec_series.append(1 / series[i]				)
						UpperCAmelCase_=   rec_series[1] - rec_series[0]
						for index in range(2			,lowerCAmelCase_				):
												if rec_series[index] - rec_series[index - 1] != common_diff:
																		return False
						return True



def        __a     (    lowerCAmelCase_   :					list				)      -> float:






						'''simple docstring'''



						if not isinstance(lowerCAmelCase_			,lowerCAmelCase_				):
												raise ValueError("""Input series is not valid, valid series - [2, 4, 6]"""				)
						if len(lowerCAmelCase_				) == 0:
												raise ValueError("""Input list must be a non empty list"""				)
						UpperCAmelCase_=   0
						for val in series:
												answer += 1 / val
						return len(lowerCAmelCase_				) / answer


if __name__ == "__main__":
	import doctest

	doctest.testmod()




