





from ..utils import DummyObject, requires_backends




class    _a  (  metaclass=UpperCamelCase__):

      """simple docstring"""


      UpperCamelCase__       						=   ["""torch""", """transformers""", """k_diffusion"""]






      def __init__(						self:	Any					,  *__lowerCamelCase:	Optional[Any]					,  **__lowerCamelCase:	Any			):
          '''simple docstring'''


          requires_backends(self					,  ["torch", "transformers", "k_diffusion"]			)






      @classmethod
      def 	UpperCAmelCase_   (						cls:	int					,  *__lowerCamelCase:	Tuple					,  **__lowerCamelCase:	str			):
          '''simple docstring'''


          requires_backends(cls					,  ["torch", "transformers", "k_diffusion"]			)






      @classmethod
      def 	UpperCAmelCase_   (						cls:	List[str]					,  *__lowerCamelCase:	Optional[int]					,  **__lowerCamelCase:	Dict			):
          '''simple docstring'''


          requires_backends(cls					,  ["torch", "transformers", "k_diffusion"]			)








def 							lowerCAmelCase_				(    A_  ,A_  ,A_):
    UpperCamelCase__:					Optional[int]												=      [1 / first_term]
    UpperCamelCase__:					int												=      1 / first_term
    for _ in range(number_of_terms - 1):
        first_term += common_difference
        arithmetic_progression.append(A_)
    UpperCamelCase__:					str												=      [1 / step for step in arithmetic_progression]
    return sum(A_)


if __name__ == "__main__":
   import doctest

   doctest.testmod()
   print(sum_of_harmonic_progression(1 / 2, 2, 2))

