




'''simple docstring'''


def    _SCREAMING_SNAKE_CASE    (			UpperCamelCase__						:				int							):




     """simple docstring"""


     return n * (2 * n - 1)



def    _SCREAMING_SNAKE_CASE    (			UpperCamelCase__						:				int							):




     """simple docstring"""


     a_    :       Tuple    	=     (1 + 24 * n) ** 0.5
     return ((1 + root) / 6) % 1 == 0



def    _SCREAMING_SNAKE_CASE    (			UpperCamelCase__						:				int = 144							):




     """simple docstring"""


     a_    :       Optional[Any]    	=     start
     a_    :       Optional[Any]    	=     hexagonal_num(UpperCamelCase__							)
     while not is_pentagonal(UpperCamelCase__							):
          n += 1
          a_    :       Any    	=     hexagonal_num(UpperCamelCase__							)
     return num


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






'''simple docstring'''


def    _SCREAMING_SNAKE_CASE    (			UpperCamelCase__						:				int = 1000							):




     """simple docstring"""


     return sum(i for i in range(UpperCamelCase__							) if i % 3 == 0 or i % 5 == 0							)


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