

'''simple docstring'''




def       lowerCamelCase__		(						SCREAMING_SNAKE_CASE      :   int						):
  return n * (2 * n - 1)


def       lowerCamelCase__		(						SCREAMING_SNAKE_CASE      :   int						):
  UpperCAmelCase													=	(1 + 24 * n) ** 0.5
  return ((1 + root) / 6) % 1 == 0


def       lowerCamelCase__		(						SCREAMING_SNAKE_CASE      :   int = 144						):
  UpperCAmelCase													=	start
  UpperCAmelCase													=	hexagonal_num(SCREAMING_SNAKE_CASE						)
  while not is_pentagonal(SCREAMING_SNAKE_CASE						):
    n += 1
    UpperCAmelCase													=	hexagonal_num(SCREAMING_SNAKE_CASE						)
  return num


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





'''simple docstring'''




_a				: Tuple 							=						'\n# Diffusers installation\n! pip install diffusers transformers datasets accelerate\n# To install from source instead of the last release, comment the command above and uncomment the following one.\n# ! pip install git+https://github.com/huggingface/diffusers.git\n'

_a				: Tuple 							=						[{'type': 'code', 'content': INSTALL_CONTENT}]


