
'''simple docstring'''



def A (__lowerCamelCase :int						):
						_lowerCAmelCase    		=					(1 + 24 * n) ** 0.5
						return ((1 + root) / 6) % 1 == 0


def A (__lowerCamelCase :int = 5000						):
						_lowerCAmelCase    		=					[(i * (3 * i - 1)) // 2 for i in range(1					,      __lowerCamelCase						)]
						for i, pentagonal_i in enumerate(__lowerCamelCase						):
												for j in range(__lowerCamelCase					,      len(__lowerCamelCase						)						):
																		_lowerCAmelCase    		=					pentagonal_nums[j]
																		_lowerCAmelCase    		=					pentagonal_i + pentagonal_j
																		_lowerCAmelCase    		=					pentagonal_j - pentagonal_i
																		if is_pentagonal(__lowerCamelCase						) and is_pentagonal(__lowerCamelCase						):
																								return b

						return -1


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


'''simple docstring'''



from .testing import (
    are_the_same_tensors,
    execute_subprocess_async,
    require_bnb,
    require_cpu,
    require_cuda,
    require_huggingface_suite,
    require_mps,
    require_multi_gpu,
    require_multi_xpu,
    require_safetensors,
    require_single_gpu,
    require_single_xpu,
    require_torch_min_version,
    require_tpu,
    require_xpu,
    skip,
    slow,
)
from .training import RegressionDataset, RegressionModel, RegressionModelaXPU


from .scripts import test_script, test_sync, test_ops  # isort: skip
